EIP-6780
EIP-6780: SELFDESTRUCT Only in CREATE 💥
EIP-6780 proposes to limit the use of the SELFDESTRUCT opcode, which has been a source of complexity and potential security issues in Ethereum smart contracts.
Key aspects of EIP-6780:
Restricts the SELFDESTRUCT opcode to only be callable during contract creation
Prevents the use of SELFDESTRUCT after a contract has been deployed
Aims to simplify the Ethereum protocol and improve security
Rationale behind EIP-6780:
Reduces potential attack vectors related to contract self-destruction
Simplifies the reasoning about contract behavior and state
Facilitates future optimizations in Ethereum clients
This EIP is part of the ongoing efforts to improve Ethereum's security and reduce complexity in smart contract development. By limiting SELFDESTRUCT, it helps prevent unexpected contract removals and simplifies the overall protocol.
Last updated
Was this helpful?