You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the logs from #6861 (comment), it seems like the light client server is not updating the finality header if sync committee changes, i.e. during transition in new sync committee period.
From the light client spec it's not clear why this check is required.
There is a note about when to update
LightClientUpdate are only considered if compute_sync_committee_period_at_slot(update.attested_header.beacon.slot) == compute_sync_committee_period_at_slot(update.signature_slot)
But this compared the sync period of attested_header slot and not finalized_header.
There is no such check when setting finalized header
Maybe I am missing something from the spec, but our implementation looks incorrect to me
nflaig
changed the title
Finality header not updated during sync committee change
Finalized header not updated during sync committee change
Jul 5, 2024
Based on the logs from #6861 (comment), it seems like the light client server is not updating the finality header if sync committee changes, i.e. during transition in new sync committee period.
Looking at logs from beacon-2024-07-01.log.gz
New sync committee period started
It seems like we are storing new partial updates but all are not finalized
and next sync committee period
My best guess right now is that this is due to the check here
lodestar/packages/beacon-node/src/chain/lightClient/index.ts
Line 431 in dbaa46e
as sync period of finalized checkpoint would be
1149
while current period is1150
which means we are storing it asisFinalized=false
The text was updated successfully, but these errors were encountered: