-
Notifications
You must be signed in to change notification settings - Fork 745
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
Fork choice should run after RPC blob processing #5474
Comments
Not sure if it's related but my node crashed and the last logs was
|
+1 saw the same issue as @s1na Memory on the node shot up and crashed the process
|
This seems related. We will try to get a release out with the fix soon (likely next week at this rate). If you want early access, you can try running The snapshot cache issues will also be further resolved (for good) by |
Description
It seems like we don't run fork choice after importing a block on this code path:
lighthouse/beacon_node/network/src/network_beacon_processor/sync_methods.rs
Lines 262 to 270 in 5ce1619
This happens when we need to fetch blobs over RPC, and then complete block import off the back of a blob RPC response.
When there are no blobs, we run fork choice after importing the block here:
lighthouse/beacon_node/network/src/network_beacon_processor/gossip_methods.rs
Line 1170 in 5ce1619
Similarly, when gossip blobs complete a block, we run fork choice here:
lighthouse/beacon_node/network/src/network_beacon_processor/gossip_methods.rs
Line 766 in 5ce1619
Therefore I think the only case missing is the one where we get blobs by RPC.
Version
Lighthouse v5.1.2
Additional Info
Some logs for slot 8708202 which was processed poorly by one of our mainnet nodes:
As we can see from these logs, the BN had all block components by
23:20:50.142
, just 3.1s into the slot. However we don't see the head get updated until >8s later:This triggers a snapshot cache miss for advancing the head, because the "head" that the state advance is looking for is the stale head from the previous slot, which has been (rightly) removed from the cache:
The text was updated successfully, but these errors were encountered: