Update EIP-8037: Align with EIP-7928 Gas Validation Phases#11414
Merged
Conversation
Collaborator
|
✅ All reviewers have approved. |
4 tasks
yperbasis
approved these changes
Mar 18, 2026
spencer-tb
added a commit
to spencer-tb/execution-specs
that referenced
this pull request
Mar 18, 2026
Add tests for EIP-8037 behaviors clarified in ethereum/EIPs#11414: - SSTORE stipend check uses gas_left only, excluding the reservoir - CREATE does not double-charge GAS_NEW_ACCOUNT (regular and state gas are independent charges) - Calldata floor exceeding TX_MAX_GAS_LIMIT rejects the transaction
spencer-tb
added a commit
to spencer-tb/execution-specs
that referenced
this pull request
Mar 18, 2026
Add tests for EIP-8037 behaviors clarified in ethereum/EIPs#11414: - SSTORE stipend check uses gas_left only, excluding the reservoir - CREATE does not double-charge GAS_NEW_ACCOUNT (regular and state gas are independent charges) - Calldata floor exceeding TX_MAX_GAS_LIMIT rejects the transaction
Merged
4 tasks
spencer-tb
added a commit
to spencer-tb/execution-specs
that referenced
this pull request
Mar 18, 2026
Add tests for EIP-8037 behaviors clarified in ethereum/EIPs#11414: - SSTORE stipend check uses gas_left only, excluding the reservoir - CREATE does not double-charge GAS_NEW_ACCOUNT (regular and state gas are independent charges) - Calldata floor exceeding TX_MAX_GAS_LIMIT rejects the transaction
fselmo
approved these changes
Mar 18, 2026
misilva73
approved these changes
Mar 20, 2026
misilva73
left a comment
Contributor
There was a problem hiding this comment.
This looks correct to me. I think we can merged it
eth-bot
approved these changes
Mar 20, 2026
eth-bot
left a comment
Collaborator
There was a problem hiding this comment.
All Reviewers Have Approved; Performing Automatic Merge...
spencer-tb
added a commit
to spencer-tb/execution-specs
that referenced
this pull request
Mar 28, 2026
Add tests for EIP-8037 behaviors clarified in ethereum/EIPs#11414: - SSTORE stipend check uses gas_left only, excluding the reservoir - CREATE does not double-charge GAS_NEW_ACCOUNT (regular and state gas are independent charges) - Calldata floor exceeding TX_MAX_GAS_LIMIT rejects the transaction
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.
Add a “Pre-state and post-state gas validation” subsection classifying EIP-8037 cost parameters by the EIP-7928 validation phases, clarifying how the reservoir model interacts with the two-phase gas checks.
Clarify that the SSTORE
GAS_CALL_STIPENDcheck applies togas_leftonly (excluding the reservoir).Fix the
SUCCESS_PATH_TOTAL_GASformula: remove the wrongGAS_NEW_ACCOUNTfrom theCREATEpath asGAS_CREATEalready covers account creation.