BEP(idea) implement EIP-6049: “SELFDESTRUCT” phased out

Summary

This BEP deprecates the SELFDESTRUCT opcode and warns against its use. A breaking change to this functionality is likely to come in the future.

Motivation

  • The EIP-6049 is planned to be part of the upcoming releases in Ethereum and will be good to align the features.
  • “SELFDESTRUCT” instruction is heavily used by hackers and removing it will make postmortem investigation much easier

Backwards Compatibility

“SELFDESTRUCT” is still somewhat used by different project as part of the self-destruct design pattern. The phase out should be done in 2 phases, giving those projects an opportunity to rewrite the functionality.

Any feedback/ideas are welcome

more details to refer