execution-spec-tests
execution-spec-tests copied to clipboard
feat(fw): Gas test generator
🗒️ Description
Creates a gas test generator based off the MCOPY
memory copy tests.
It can be applied to *any test and the test writer only needs to provide a couple of fixtures for it to work.
*It only works on legacy EVM code at the moment and not EOF, but I have a couple of ideas of how to make it work.
🔗 Related Issues
None
✅ 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.