Skip to content

fix(fixtures): Fix index generation for EOF tests #728

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

Merged
merged 6 commits into from
Aug 5, 2024

Conversation

marioevz
Copy link
Member

@marioevz marioevz commented Aug 4, 2024

🗒️ Description

Fixture filling was failing due to the index generation not supporting parsing EOF tests.

Fixed:

  • EOF fixture parsing due to ContainerKind not parsing correctly on read
  • EOFException parsing due to not being supported by from_pipe_str function
  • Refactored ExceptionBase and subclasses string parsing

🔗 Related Issues

Closes #724

✅ 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 marioevz added type:bug Something isn't working type:refactor Type: Refactor labels Aug 4, 2024
@pdobacz
Copy link
Contributor

pdobacz commented Aug 5, 2024

Seems to fix #724 for me, ty!

@marioevz marioevz requested a review from spencer-tb August 5, 2024 13:15
Copy link
Contributor

@spencer-tb spencer-tb left a comment

Choose a reason for hiding this comment

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

LGTM! Approved!

Only one small comment, mostly a question.

@marioevz marioevz merged commit d226da6 into main Aug 5, 2024
7 checks passed
@marioevz marioevz deleted the fix-index-on-eof-tests branch August 5, 2024 22:12
spencer-tb pushed a commit to spencer-tb/execution-spec-tests that referenced this pull request Aug 8, 2024
* fix(exceptions): Exception string parsing

* fix(types): EOF `ContainerKind` parsing

* feat(fixtures): Add EOF fixture tests

* fix(fixtures): EOF index generation

* changelog

* fix(exceptions): type check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working type:refactor Type: Refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pydantic Validation errors at teardown since index file generation
3 participants