Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Implement StateTest fixture types #361

Merged

Conversation

marioevz
Copy link
Member

@marioevz marioevz commented Dec 14, 2023

🗒️ Description

Implements STATE_TEST fixture format generation from StateTest type tests.

Limits the StateTest class to have a single transaction.

Modifies all tests to limit StateTest calls to have only a single transaction.

🔗 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: 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 marioevz added scope:pytest Scope: Pytest plugins scope:tests Scope: Test cases type:test Type: Test type:feat type: Feature scope:fw Scope: Framework (evm|tools|forks|pytest) labels Dec 14, 2023
Copy link
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's wonderful. Enjoying this so much!

Minor bug fix that crept in in #354 here: marioevz#14

Otherwise, LFG.

@marioevz marioevz force-pushed the feat/statetest-fixture-format-types branch from 89dec36 to e8d1798 Compare December 14, 2023 22:00
@marioevz marioevz merged commit 62db6b4 into ethereum:feat/statetest Dec 14, 2023
5 checks passed
@marioevz marioevz deleted the feat/statetest-fixture-format-types branch December 22, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:fw Scope: Framework (evm|tools|forks|pytest) scope:pytest Scope: Pytest plugins scope:tests Scope: Test cases type:feat type: Feature type:test Type: Test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants