Add EIP: Remove SELFDESTRUCT Burn#11590
Open
chfast wants to merge 11 commits intoethereum:masterfrom
Open
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Both lists in the Specification section now use lowercase comma fragments completing the lead-in clause.
Three HTML-comment notes flagging awkward phrasing in the Motivation section for follow-up.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
File
|
|
The commit d9cd187 (as a parent of 037d91d) contains errors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a small follow-up to EIP-6780.
EIP-6780 already removed the more common
SELFDESTRUCTburn behavior, but it left one last corner case: contracts created in the same transaction can still burn ETH, either byselfdestruct(self)or in a case where they receive ETH again later in the same transaction and then get deleted at finalization.The problem is that this special case is basically unused, but it still forces special handling in clients, specs, and tests.
I checked mainnet usage with a full replay up to about block 24.95M. The result is:
So the actual remaining burn behavior is extremely rare, and the only notable post-Cancun activity besides the 2 real burns is one contract repeatedly probing the already-broken path.
The idea here is simple: remove the last path where
SELFDESTRUCTcan silently destroy ETH, instead of keeping this odd special case forever.As a side effect, this also removes the last EVM mechanism by which ETH can leave total supply.