Skip to content

Update EIP-7708: clarify case where multiple balance-burning selfdestructs occur in the same transaction#11126

Closed
jwasinger wants to merge 3 commits into
ethereum:masterfrom
jwasinger:patch-2
Closed

Update EIP-7708: clarify case where multiple balance-burning selfdestructs occur in the same transaction#11126
jwasinger wants to merge 3 commits into
ethereum:masterfrom
jwasinger:patch-2

Conversation

@jwasinger
Copy link
Copy Markdown
Contributor

No description provided.

@jwasinger jwasinger requested a review from eth-bot as a code owner January 21, 2026 07:46
@github-actions github-actions Bot added c-update Modifies an existing proposal s-draft This EIP is a Draft t-core labels Jan 21, 2026
@jwasinger jwasinger changed the title EIP 7708: clarify case where multiple balance-burning selfdestructs o… EIP 7708: clarify case where multiple balance-burning selfdestructs occur in the same transaction Jan 21, 2026
@eth-bot
Copy link
Copy Markdown
Collaborator

eth-bot commented Jan 21, 2026

File EIPS/eip-7708.md

Requires 1 more reviewers from @Carsons-Eels, @etan-status, @g11tech, @petertdavies, @vbuterin

@eth-bot eth-bot added the a-review Waiting on author to review label Jan 21, 2026
@eth-bot eth-bot changed the title EIP 7708: clarify case where multiple balance-burning selfdestructs occur in the same transaction Update EIP-7708: clarify case where multiple balance-burning selfdestructs occur in the same transaction Jan 21, 2026
Comment thread EIPS/eip-7708.md Outdated
A log, identical to a LOG2, is issued for:

- Any nonzero-value-transferring `SELFDESTRUCT` to the same account, at the time that the value removal executes
- Any nonzero-value-transferring `SELFDESTRUCT` to the same account at the time of account removal. If there are multiple of these in the same transaction, they should be ordered lexicographically by invoking contract address.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not in order of SELFDESTRUCT invocations? Otherwise, the order mismatches compared to the flavor where it is sent to a different account, no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The burn only occurs at transaction finalization. not when the selfdestruct opcode is invoked.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, is that also the case for regular SENDALL?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no I'm wrong. the balance burn happens immediately.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SENDALL won't cause balance to be burned.

@jwasinger jwasinger closed this Jan 21, 2026
@jwasinger
Copy link
Copy Markdown
Contributor Author

Actually. Ether burning can still occur at transaction finalization: if an account self-destructs and ether is sent to it in the same transaction after the selfdestruct occurs, the new balance will be burned when the account is removed at transaction finalization.

@jwasinger jwasinger reopened this Jan 21, 2026
Comment thread EIPS/eip-7708.md Outdated
@etan-status
Copy link
Copy Markdown
Contributor

Comment thread EIPS/eip-7708.md
@jwasinger
Copy link
Copy Markdown
Contributor Author

Let's go with the other PR you've opened @etan-status

@jwasinger jwasinger closed this Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a-review Waiting on author to review c-update Modifies an existing proposal s-draft This EIP is a Draft t-core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants