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

Lodestar VC publishes validator registrations for withdrawn validators #6401

Open
jshufro opened this issue Feb 7, 2024 · 2 comments
Open
Labels
good first issue Issues that are suitable for first-time contributors. help wanted The author indicates that additional help is wanted. meta-bug Issues that identify a bug and require a fix. prio-medium Resolve this some time soon (tm). scope-interop Issues that fix interop issues between Lodestar and CL, EL or tooling.

Comments

@jshufro
Copy link
Contributor

jshufro commented Feb 7, 2024

Describe the bug

rocketpool_validator  | Feb-07 06:26:18.910[]                 info: Published validator registrations to builder epoch=261622, count=6

one imagines that once a validator has been withdrawn it is no longer eligible for block proposals.

Expected behavior

Lodestar VC should not call register_validator/prepare_beacon_proposer for exited and withdrawn validators.

Steps to reproduce

No response

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

v1.15.0/5d93a62

@jshufro jshufro added the meta-bug Issues that identify a bug and require a fix. label Feb 7, 2024
@nflaig
Copy link
Member

nflaig commented Feb 7, 2024

Thanks for bringing this up!

one imagines that once a validator has been withdrawn it is no longer eligible for block proposals

That is correct and we are filtering those out on the beacon node before sending the registrations to the builder

// should only send active or pending validator to builder
// Spec: https://ethereum.github.io/builder-specs/#/Builder/registerValidator
const headState = chain.getHeadState();

Lodestar VC should not call register_validator/prepare_beacon_proposer for exited and withdrawn validators.

This is probably the ideal behavior but currently the VC does not continuously update the status of validators, we either just query status for unknown imported pubkeys to be discovered or once during startup.

Ideal solution would be to get the status of imported validators once per epoch and filter on VC side. This also affects other APIs, we also request duties for validators which are already exited.

Keeping track of the status is also a prerequisites for #5192 and #5158.

@jshufro
Copy link
Contributor Author

jshufro commented Feb 8, 2024

we are filtering those out on the beacon node before sending the registrations to the builder

that's good and all but i really hope some day to be able to use any vc with any bn and not suffer from quirks.

at any rate it sounds like this is on the radar, thanks as always.

@nflaig nflaig added scope-interop Issues that fix interop issues between Lodestar and CL, EL or tooling. prio-medium Resolve this some time soon (tm). labels Feb 8, 2024
@philknows philknows added the help wanted The author indicates that additional help is wanted. label Oct 22, 2024
@philknows philknows added the good first issue Issues that are suitable for first-time contributors. label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Issues that are suitable for first-time contributors. help wanted The author indicates that additional help is wanted. meta-bug Issues that identify a bug and require a fix. prio-medium Resolve this some time soon (tm). scope-interop Issues that fix interop issues between Lodestar and CL, EL or tooling.
Projects
None yet
Development

No branches or pull requests

3 participants