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

Stale LightClientFinalityUpdates sent during sync #7476

Open
michaelsproul opened this issue Feb 17, 2025 · 1 comment
Open

Stale LightClientFinalityUpdates sent during sync #7476

michaelsproul opened this issue Feb 17, 2025 · 1 comment
Labels
meta-bug Issues that identify a bug and require a fix. scope-light-clients All issues regarding light client development.

Comments

@michaelsproul
Copy link

Describe the bug

It seems that Lodestar propagates stale LightClientFinalityUpdates on gossip. I suspect these are from syncing nodes.

I added some logging to Lighthouse to catch the updates we are rejecting, and I've found several from Lodestar that were very old:

  • received finality update from slot 3567251, but expected 3660662
    that's 93411 slots behind
    sending peer: Lodestar v1.25.0, 16Uiu2HAkwepnLHcFXrWzvMPAmXrQSpMdoQg42Z4aguHx51kiftht
  • received finality update from slot 3567136, but expected 3660619
    that's 93483 slots behind
    sending peer: Lodestar v1.25.0, 16Uiu2HAkxCFSKMbWnShN75PJvgmyZb6hpJJYqjNU1czStjd7yZwW

Expected behavior

Lodestar shouldn't publish stale light client updates if it knows it's syncing. Perhaps there's an argument to say this behaviour is harmless, in case the node is eclipsed and has been tricked into thinking it is syncing when it isn't? However, given that these are finality updates, they are likely only useful if the node is not eclipsed (i.e. is part of the 2/3+ of validators that are finalizing the chain).

Steps to reproduce

No response

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

v1.25.0

@michaelsproul michaelsproul added the meta-bug Issues that identify a bug and require a fix. label Feb 17, 2025
@michaelsproul
Copy link
Author

This was on Holesky btw

@philknows philknows added the scope-light-clients All issues regarding light client development. label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta-bug Issues that identify a bug and require a fix. scope-light-clients All issues regarding light client development.
Projects
None yet
Development

No branches or pull requests

2 participants