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

**URL:** <https://forum.bnbchain.org/t/bep-idea-implement-eip-6049-selfdestruct-phased-out/1255>\
**Category:** BEP\
**Tags:** evm\
**Created:** [April 17, 2023, 5:20am UTC](https://forum.bnbchain.org/t/bep-idea-implement-eip-6049-selfdestruct-phased-out/1255 "2023-04-17T05:20:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vgg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.bnbchain.org/vgg/32/643_2.png) [@vgg](https://forum.bnbchain.org/u/vgg)\
**Post date:** [April 17, 2023, 5:20am UTC](https://forum.bnbchain.org/t/bep-idea-implement-eip-6049-selfdestruct-phased-out/1255/1 "2023-04-17T05:20:22Z")

</div>

## 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

---

<div class="post-metadata">

**Author:** ![buddh0](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.bnbchain.org/buddh0/32/571_2.png) [@buddh0](https://forum.bnbchain.org/u/buddh0)\
**Post date:** [October 30, 2023, 7:46am UTC](https://forum.bnbchain.org/t/bep-idea-implement-eip-6049-selfdestruct-phased-out/1255/2 "2023-10-30T07:46:33Z")

</div>

more details to refer

> [@BEP-312: Announce EIP-6049 Deprecate SELFDESTRUCT](https://forum.bnbchain.org/t/bep-312-announce-eip-6049-deprecate-selfdestruct/2129):
>
> 1. Summary As part of Shanghai upgrade, EIP-6049: Deprecate SELFDESTRUCT is required to be announced in the BSC community. 2. Abstract This EIP deprecates the SELFDESTRUCT opcode and warns against its use. A breaking change to this functionality is likely to come in the future. 3. Motivation Discussions about how to change SELFDESTRUCT are ongoing. But there is a strong consensus that something will change. 4. Specification Documentation of the SELFDESTRUCT opcode is updated to warn against i…
