execution-spec-tests
execution-spec-tests copied to clipboard
feat(fw): Add `is_state_test` flag to `Environment`
🗒️ 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.