lighthouse icon indicating copy to clipboard operation
lighthouse copied to clipboard

Broadcast validator registration to all synced beacon nodes

Open jimmygchen opened this issue 1 year ago • 2 comments

Issue Addressed

The validator client currently publish validator registrations to its first beacon node, and it doesn't require the beacon node to be synced. This could potentially result in registration not being sent to all builders beacon nodes are connected to, because:

  • Beacon nodes may be connected to different relays, and only sending it to the first one means registrations may not be sent to all relays.
  • Beacon nodes read validator data from the chain, and only send registration for active validators. However if the node is out of sync, it could either be missing the validator or have an outdated status of the validator, resulting in registration for the active validator to be missed.

https://github.com/sigp/lighthouse/blob/b4556a3d621c39cb28ef10df9daec4ee935909b6/validator_client/src/preparation_service.rs#L478-L487

Proposed Changes

To ensure registrations for all active validators are sent to all relays, we publish validator registration to all synced beacon nodes.

jimmygchen avatar Jun 21 '24 04:06 jimmygchen

@mergifyio queue

michaelsproul avatar Jun 27 '24 05:06 michaelsproul

queue

🛑 The pull request has been removed from the queue default

The queue conditions cannot be satisfied due to failing checks.

You can take a look at Queue: Embarked in merge queue check runs for more details.

In case of a failure due to a flaky test, you should first retrigger the CI. Then, re-embark the pull request into the merge queue by posting the comment @mergifyio refresh on the pull request.

mergify[bot] avatar Jun 27 '24 05:06 mergify[bot]

@mergify requeue

jimmygchen avatar Jul 03 '24 07:07 jimmygchen

requeue

✅ This pull request will be re-embarked automatically

The followup queue command will be automatically executed to re-embark the pull request

mergify[bot] avatar Jul 03 '24 07:07 mergify[bot]

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 3f82952f66251325b1d043dafe8a4b6ae51e1e8b

mergify[bot] avatar Jul 03 '24 07:07 mergify[bot]