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

fix(specs): Track block fork in edge cases #854

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

etan-status
Copy link
Contributor

There are a few situations where a block object loses track of the originating fork, which show up when implementing SSZ EIPs (EIP-6404). Fix those instances by setting the fork where it was forgotten.

There are a few situations where a block object loses track of the
originating fork, which show up when implementing SSZ EIPs (EIP-6404).
Fix those instances by setting the fork where it was forgotten.
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.

LGTM, thanks for this! I think the comment below should just be exclude_none (the keyword argument to model_dump()?

src/ethereum_test_specs/blockchain.py Show resolved Hide resolved
@danceratopz danceratopz merged commit 990f6af into ethereum:main Oct 1, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants