-
Notifications
You must be signed in to change notification settings - Fork 808
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
Gossip recently computed light client data #7023
base: release-v7.0.0
Are you sure you want to change the base?
Gossip recently computed light client data #7023
Conversation
Is this part of the spec? This way the entire network will broadcast the updates at once |
agreeed that it seems very wasteful for everyone to broadcast light client updates at once. The spec doesnt seem to mention how this should work, I've reached out in the light client channel on eth r&d discord for further clarification |
Etan has suggested that we restrict the initial light client data publishing to the current sync committee. I think that sounds reasonable to me, but it would require introducing a new beacon api endpoint. I'll work on speccing something out. |
Why do we need a new beacon API? Could we implement something based on the existing sync committee subscription API? e.g. only publish if we have received a sync committee subscription in the last I think we could get that info from the |
yeah, you're right, we don't need a new beacon api, I think overloading one of the http endpoints makes the most sense |
Gossip recently constructed light client data when
POST validator/contribution_and_proofs
is calledi've chosen this endpoint, because its already publishing data to the network, it's called at every slot for validators in an active sync committee, and a
POST
seems like the better method to trigger publishing data to the network vsGET
Keep track of the latest broadcasted finality and optimistic updates. That way, even if the
POST validator/contribution_and_proofs
endpoint is spammed with junk data, we'll only gossip the same finality/optimistic update once.