mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-06-11 21:21:06 +00:00
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:
@@ -19,7 +19,7 @@ network:
|
||||
dataSources:
|
||||
- name: main
|
||||
kind: substrate/Runtime
|
||||
startBlock: 582592
|
||||
startBlock: 1029200
|
||||
mapping:
|
||||
file: ./dist/index.js
|
||||
handlers:
|
||||
|
||||
@@ -22,7 +22,7 @@ network:
|
||||
dataSources:
|
||||
- name: governance
|
||||
kind: substrate/Runtime
|
||||
startBlock: 57100
|
||||
startBlock: 1228500
|
||||
mapping:
|
||||
file: ./dist/index.js
|
||||
handlers:
|
||||
|
||||
Reference in New Issue
Block a user