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

feat: (light client)add new consensus types for Electra #14527

Merged
merged 19 commits into from
Oct 15, 2024

Conversation

rupam-04
Copy link
Contributor

@rupam-04 rupam-04 commented Oct 11, 2024

What type of PR is this?

Feature

What does this PR do? Why is it needed?

Adds new consensus types for Electra. This is necessary as depth of sync committee branch changed from 5 in Deneb to 6 in Electra.

  • Introduces a new LightClientBootstrapElectra proto struct with depth of sync committee branch set to 6
  • Introduces a new LightClientUpdateElectra proto struct with depth of sync committee branch set to 6
  • Introduces a new bootstrapElectra struct in consensus-types with currentSyncCommitteeBranch set to interfaces.LightClientSyncCommitteeBranchElectra
  • Adds LightClientBootstrapElectra and LightClientUpdateElectra to BUILD.bazel to update SSZ methods
  • Introduces a new updateElectra struct in consensus-types with nextSyncCommitteeBranch set to interfaces.LightClientSyncCommitteeBranchElectra
  • Adds NextSyncCommitteeBranchElectra() to LightClientBootstrap and LightClientUpdate interfaces

Which issues(s) does this PR fix?

Needed for #12991

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have made an appropriate entry to CHANGELOG.md.
  • I have added a description to this PR with sufficient context for reviewers to understand this PR.

@rupam-04 rupam-04 marked this pull request as ready for review October 14, 2024 18:48
@rupam-04 rupam-04 requested a review from a team as a code owner October 14, 2024 18:48
@rupam-04 rupam-04 requested review from kasey, nalepae and rkapka October 14, 2024 18:48
@rkapka rkapka enabled auto-merge October 15, 2024 10:18
@rkapka rkapka added this pull request to the merge queue Oct 15, 2024
Merged via the queue into prysmaticlabs:develop with commit dc91c96 Oct 15, 2024
17 of 18 checks passed
@rupam-04 rupam-04 deleted the electra/consensus-types branch October 15, 2024 12:17
@kasey kasey added the changelog/added Changelog Section: Added label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/added Changelog Section: Added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants