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
Logic was recently introduced which guarded against the head block going backwards. It would be great if logic could also be introduced to prevent the head block from skipping forwards by a lot, 10% for example.
Some reasons for why this could be useful:
there's an issue with upstream rpc providers where they misconfigure their infra and switch nodes for a given endpoint, ie: the mainnet endpoint starts serving arbitrum blocks
an indexer does a config update and accidentally configures, eg, the mainnet ingester to use an aribtrum endpoint
If this edge case happens, the block cache gets corrupted and requires significant manual intervention. It would be great if graph node could attempt to detect this issue and prevent the block cache from getting corrupted during the block ingestion process.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
I'm not aware of any blockers.
Some information to help us out
Tick this box if you plan on implementing this feature yourself.
I have searched the issue tracker to make sure this issue is not a duplicate.