Skip to content

Update EIP-7999: add data and state resources, simplify gas accounting#11835

Open
misilva73 wants to merge 2 commits into
ethereum:masterfrom
misilva73:update-eip-7999-v2
Open

Update EIP-7999: add data and state resources, simplify gas accounting#11835
misilva73 wants to merge 2 commits into
ethereum:masterfrom
misilva73:update-eip-7999-v2

Conversation

@misilva73

Copy link
Copy Markdown
Contributor

Summary

Expands EIP-7999 from three resource dimensions to four, adding a data resource and a state-growth resource alongside execution and blob gas.

Changes

  • Data resource (replaces standalone calldata): priced from EIP-8131 content bytes (DATA_GAS_PER_CONTENT_BYTE = 16) and EIP-8279 BAL bytes; flat DATA_GAS_LIMIT = 60M; drops EIP-7623 floor pricing; renames CALLDATABASEFEEDATABASEFEE (0x4b).
  • State resource: new separately-priced dimension reusing EIP-8037 metering with its own base fee; no per-block limit (target only), no EIP-7918 anchor; adds STATEBASEFEE (0x4c).
  • Gas accounting: extends gas vectors 3→4 dims; reworks get_gas_limits; adopts EIP-2780 intrinsic basis and EIP-7825 per-tx cap; data & state treated as unconditional under EIP-7805.
  • Header: requires adds EIP-2780, 7623, 7702, 7706, 7825, 7928, 8037, 8131, 8279.

Several constants remain TBD.

Rework get_gas_limits/get_required_max_fee to a unified worst-case vector, fold data and state gas into the reservoir model, and add EIP-2780 to requires (intrinsic cost now inherited from it).
@misilva73 misilva73 requested a review from eth-bot as a code owner June 25, 2026 13:59
@github-actions github-actions Bot added c-update Modifies an existing proposal s-draft This EIP is a Draft t-core labels Jun 25, 2026
@eth-bot

eth-bot commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

File EIPS/eip-7999.md

Requires 1 more review from Authors: @anderselowsson, @vbuterin

@eth-bot eth-bot added the a-review Waiting on author to review label Jun 25, 2026
@github-actions

Copy link
Copy Markdown

The commit 9ec9e16 (as a parent of f90869f) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions Bot added the w-ci Waiting on CI to pass label Jun 25, 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 w-ci Waiting on CI to pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants