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: align BeaconBlockBody and BlindedBeaconBlockBody #6782

Merged
merged 2 commits into from
May 16, 2024

Conversation

wemeetagain
Copy link
Member

Motivation

  • eip-7688 uncovered an inconsistency between our electra BeaconBlockBody and BlindedBeaconBlockBody definitions

Description

  • align BeaconBlockBody and BlindedBeaconBlockBody
  • add unit test that enforces equal # of fields between known blinded/unblinded variant types

@wemeetagain wemeetagain requested a review from a team as a code owner May 15, 2024 08:36
Copy link
Member

@nflaig nflaig left a comment

Choose a reason for hiding this comment

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

LGTM, I removed the type hacks in tests and fixed the assertion to use toBeWithMessage

@wemeetagain wemeetagain merged commit 44d9599 into electra-fork May 16, 2024
13 of 17 checks passed
@wemeetagain wemeetagain deleted the cayman/align-blinded-beaon-block-body branch May 16, 2024 12:12
g11tech pushed a commit that referenced this pull request May 24, 2024
* fix: align BeaconBlockBody and BlindedBeaconBlockBody

* Remove type hacks in test

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
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.

None yet

3 participants