execution-spec-tests icon indicating copy to clipboard operation
execution-spec-tests copied to clipboard

feat(forks): Add gas costs functions

Open marioevz opened this issue 5 months ago • 0 comments

🗒️ Description

WIP

In preparation for EIP-7623, this PR introduces fork-specific gas functions to aid to automatically calculate things like the transaction intrinsic gas costs in each fork, given the calldata, access list, and other information.

🔗 Related Issues

✅ Checklist

  • [ ] All: Set appropriate labels for the changes.
  • [ ] All: Considered squashing commits to improve commit history.
  • [ ] All: Added an entry to CHANGELOG.md.
  • [ ] All: Considered updating the online docs in the ./docs/ directory.
  • [ ] Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
  • [ ] Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
  • [ ] Tests: Included the type and version of evm t8n tool used to locally execute test cases: e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
  • [ ] Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

marioevz avatar Aug 30 '24 00:08 marioevz