mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-21 23:37:56 +00:00
6b188858db
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.