Skip to content

Update EIP-8037: Align with EIP-7928 Gas Validation Phases#11414

Merged
eth-bot merged 1 commit into
ethereum:masterfrom
nerolation:toni/fix-8037
Mar 20, 2026
Merged

Update EIP-8037: Align with EIP-7928 Gas Validation Phases#11414
eth-bot merged 1 commit into
ethereum:masterfrom
nerolation:toni/fix-8037

Conversation

@nerolation

Copy link
Copy Markdown
Contributor
  • 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_STIPEND check applies to gas_left only (excluding the reservoir).

  • Fix the SUCCESS_PATH_TOTAL_GAS formula: remove the wrong GAS_NEW_ACCOUNT from the CREATE path as GAS_CREATE already covers account creation.

@github-actions github-actions Bot added c-update Modifies an existing proposal s-draft This EIP is a Draft t-core labels Mar 16, 2026
@eth-bot

eth-bot commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator

✅ All reviewers have approved.

@eth-bot eth-bot added the a-review Waiting on author to review label Mar 16, 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
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
@nerolation nerolation marked this pull request as ready for review March 19, 2026 07:24
@nerolation nerolation requested a review from eth-bot as a code owner March 19, 2026 07:24

@misilva73 misilva73 left a comment

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.

This looks correct to me. I think we can merged it

@eth-bot eth-bot enabled auto-merge (squash) March 20, 2026 08:29

@eth-bot eth-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@eth-bot eth-bot merged commit 7df0a62 into ethereum:master Mar 20, 2026
18 checks passed
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
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.

5 participants