-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Light Client: Electra finality branch #14597
Conversation
if err != nil { | ||
return nil, err | ||
} | ||
finalityBranch = fb[:] | ||
} else { | ||
b, err := update.NextSyncCommitteeBranch() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
b, err := update.NextSyncCommitteeBranch() | |
scb, err := update.NextSyncCommitteeBranch() |
Lets have this for consistency since you used scb
before too
@@ -243,7 +239,7 @@ func NewLightClientUpdateFromBeaconState( | |||
return result, nil | |||
} | |||
|
|||
func CreateDefaultLightClientUpdate(currentSlot primitives.Slot) (interfaces.LightClientUpdate, error) { | |||
func CreateDefaultLightClientUpdate(currentSlot primitives.Slot, attestedBlock interfaces.ReadOnlySignedBeaconBlock) (interfaces.LightClientUpdate, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can pass attestedState
here for lesser conflicts with #14585
We should be applying the changes in |
e4a8ce1
to
5ffe6fb
Compare
5ffe6fb
to
8248f66
Compare
* extract from lc-p2p branch * generate code * trixy's review * test fixes
No description provided.