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

bug(fill,types): duplicate FixtureAuthorizationTuple's v field as yParity #1286

Merged
merged 3 commits into from
Mar 6, 2025

Conversation

danceratopz
Copy link
Member

@danceratopz danceratopz commented Mar 6, 2025

🗒️ Description

Unfortunately, the yParity field in authorization lists was named v in our state test fixture format, which differs from from EIP-7702:
https://github.com/ethereum/EIPs/blob/aa391ae306408fcd049a1442a5deab47675c0c87/EIPS/eip-7702.md?plain=1#L45

This change will enable erigon to correctly run the 7702 tests (with non-zero yParity in authorization lists, this default to 0 as it wasn't found).

Thanks to @holiman for detecting this issue.

🔗 Related Issues

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.

@danceratopz danceratopz added type:bug Something isn't working scope:fill Scope: fill command fork:prague Prague hardfork scope:types Scope: Changes to ethereum_test_types, ethereum_test_base_types labels Mar 6, 2025
@danceratopz danceratopz self-assigned this Mar 6, 2025
Copy link
Collaborator

@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!

@danceratopz danceratopz merged commit c9a08ea into main Mar 6, 2025
21 checks passed
@danceratopz danceratopz deleted the add-yparity-to-authorization-tuple branch March 6, 2025 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fork:prague Prague hardfork scope:fill Scope: fill command scope:types Scope: Changes to ethereum_test_types, ethereum_test_base_types type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants