Skip to content

Commit

Permalink
Update EIP-6780: Move to Final
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
timbeiko authored Mar 29, 2024
1 parent ab9095a commit 688e939
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions EIPS/eip-6780.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ title: SELFDESTRUCT only in same transaction
description: SELFDESTRUCT will recover all funds to the target but not delete the account, except when called in the same transaction as creation
author: Guillaume Ballet (@gballet), Vitalik Buterin (@vbuterin), Dankrad Feist (@dankrad)
discussions-to: https://ethereum-magicians.org/t/deactivate-selfdestruct-except-where-it-occurs-in-the-same-transaction-in-which-a-contract-was-created/13539
status: Last Call
last-call-deadline: 2024-02-15
status: Final
type: Standards Track
category: Core
created: 2023-03-25
Expand Down Expand Up @@ -64,6 +63,10 @@ Contracts that depended on re-deploying contracts at the same address using `CRE

Previously it was possible to burn ether by calling `SELFDESTRUCT` targeting the executing contract as the beneficiary. If the contract existed prior to the transaction the ether will not be burned. If the contract was newly created in the transaction the ether will be burned, as before.

## Test Cases

Test cases for this EIP can be found in the Execution Spec Tests suite [`eip6780_selfdestruct`](https://github.com/ethereum/execution-spec-tests/tree/1983444bbe1a471886ef7c0e82253ffe2a4053e1/tests/cancun/eip6780_selfdestruct).

## Security Considerations

The following applications of `SELFDESTRUCT` will be broken and applications that use it in this way are not safe anymore:
Expand Down

0 comments on commit 688e939

Please sign in to comment.