-
Notifications
You must be signed in to change notification settings - Fork 2
Labels
priority: criticalBlockers that prevent core functionalityBlockers that prevent core functionalitystatus: ready to workClear requirements, can be picked upClear requirements, can be picked uptype: featureNew functionalityNew functionality
Description
Description:
Implement blockchain reorg detection to ensure event ordering consistency and data integrity during chain reorgs.
Implementation:
- Detect when a reorg occurs (block hash changes)
Maintain recent block history (configurable depth, e.g., 12 blocks)We should actually do:- Reorg to depth specified in config
- Do 1 check of parent hash, if it matches return depth --> start streaming from there
- If not, recursively find parent hash match
- Return match --> stream from there
- Re-process events from reorg point
- Ensure event ordering is maintained during reorg recovery
- Ensure reorg logic exists for both historical and live modes.
Sub-issues
Metadata
Metadata
Assignees
Labels
priority: criticalBlockers that prevent core functionalityBlockers that prevent core functionalitystatus: ready to workClear requirements, can be picked upClear requirements, can be picked uptype: featureNew functionalityNew functionality