Home / Education / Glossary / EIP-6780 (Restrict SELFDESTRUCT)

EIP-6780 (Restrict SELFDESTRUCT)

The SELFDESTRUCT opcode is a powerful tool that lets smart contracts delete themselves, sending remaining funds to a designated address. It’s akin to streamlining Ethereum’s internal housekeeping practices for a smoother-running network.

However, this has potential security issues and can bloat the Ethereum state. EIP-6780 puts restrictions in place, making it more difficult and potentially more expensive to use SELFDESTRUCT. This ensures a cleaner, more manageable state, enhancing long-term stability and security while still allowing for legitimate uses of the function. .