Update EIP-7999: add data and state resources, simplify gas accounting#11835
Open
misilva73 wants to merge 2 commits into
Open
Update EIP-7999: add data and state resources, simplify gas accounting#11835misilva73 wants to merge 2 commits into
misilva73 wants to merge 2 commits into
Conversation
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).
Collaborator
File
|
|
The commit 9ec9e16 (as a parent of f90869f) 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.
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_GAS_PER_CONTENT_BYTE = 16) and EIP-8279 BAL bytes; flatDATA_GAS_LIMIT = 60M; drops EIP-7623 floor pricing; renamesCALLDATABASEFEE→DATABASEFEE (0x4b).STATEBASEFEE (0x4c).get_gas_limits; adopts EIP-2780 intrinsic basis and EIP-7825 per-tx cap; data & state treated as unconditional under EIP-7805.requiresadds EIP-2780, 7623, 7702, 7706, 7825, 7928, 8037, 8131, 8279.Several constants remain
TBD.