Skip to content

Do not transfer ETH with selfDestruct #98

Open
@chfast

Description

@chfast

In EVM1 the SELFDESTRUCT is messy and complex due to the additional ETH transfer coupled with it.

  1. Simplify selfDestruct by removing its address argument and do no transfer ether. The ether is destroyed with the account.
  2. Add transfer() function that only transfers ether to other account. The target account's code is not executed. This function is needed to implement SELFDESTRUCT in evm2wasm.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions