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
looks like the catching_up field on curl http://localhost:1317/status isn't reliable - what happened now was we forgot to update our local heimdall to latest version and there was a hard fork - so it stopped syncing and broke erigon (with a trie root mismatch due to missing state sync events)
at that point (around 2025-02-13T10:00) when I run curl http://localhost:1317/status I got:
and compare to what our latest entity id is for these 3 entities (using EntityStore.LastEntityId) - note this will come from snapshots/db thanks to our snapshot entity stores - based on this we will know if erigon is ahead of heimdall in which case it needs to "warn and wait"
this is a follow up to #13746 (comment)
prevent support burden for this scenario by detecting that users have a heimdalld process which isn't sync-ed correctly:
can make use of either of the endpoints:
curl http://localhost:1317/status
- (hascatching_up
boolean flag andlatest_block_time
for the heimdall block time)curl http://localhost:1317/checkpoints/count
curl http://localhost:1317/milestone/latest
curl http://localhost:1317/bor/latest-span
can either plug these checks and warnings and waits in:
bridge/Service waitForScraper
,heimdall/Service SynchronizeCheckpoints
,heimdall/Service SynchronizeSpans
,heimdall/Service SynchronizeMilestones
sync/Sync Run
The text was updated successfully, but these errors were encountered: