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

feat(fw): Add `is_state_test` flag to `Environment`

Open marioevz opened this issue 7 months ago • 8 comments

🗒️ Description

Adds a flag isStateTest into the environment information that is passed to the t8n tool which is only set to true when executing the state tests, and should inhibit any block-level operations in order to reduce the changes to the state that are produced by:

  • The mining reward
  • Block Withdrawals
  • System operations

🔗 Related Issues

None

✅ Checklist

  • [x] All: Set appropriate labels for the changes.
  • [x] All: Considered squashing commits to improve commit history.
  • [x] All: Added an entry to CHANGELOG.md.
  • [x] All: Considered updating the online docs in the ./docs/ directory.
  • [x] Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
  • [x] Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
  • [x] 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.
  • [x] Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

marioevz avatar Jun 26 '24 16:06 marioevz