fix(subquery): bump startBlocks past pruning window

Both governance and AH indexers were crashing at pruned blocks (RPC
nodes only retain last ~256 blocks of state). Bumping startBlock to
near-tip allows clean indexing forward from current state.

- governance: 57100 → 1228500 (relay tip - ~200)
- AH: 582592 → 1029200 (AH tip - ~200)

Loss: governance 57100-1228500 (mostly empty, pre-governance-activity);
AH 582592-1029200 (~410k blocks of staking/transfer data — postgres
state will be dropped, accept loss).

Long-term fix: provision Asset Hub archive node so reindexing from
genesis is possible without recurring pruning issues.
This commit is contained in:
2026-05-23 05:08:16 -07:00
parent 7ef82c7390
commit 67a246a760
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ network:
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 582592
startBlock: 1029200
mapping:
file: ./dist/index.js
handlers:
+1 -1
View File
@@ -22,7 +22,7 @@ network:
dataSources:
- name: governance
kind: substrate/Runtime
startBlock: 57100
startBlock: 1228500
mapping:
file: ./dist/index.js
handlers: