mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-10-20 18:56:24 +00:00
When SubQuery restarts and hits pruned blocks, events are empty (from patch 4). This caused two downstream crashes: - getExtrinsicSuccess(undefined) → TypeError on findIndex - wrapBlock with events.toArray() → TypeError on undefined Patches 5-6 handle undefined events gracefully.