From 67a246a760fa9ee5780232b707c9a1afd04df3b9 Mon Sep 17 00:00:00 2001 From: Satoshi Qazi Muhammed Date: Sat, 23 May 2026 05:08:16 -0700 Subject: [PATCH] fix(subquery): bump startBlocks past pruning window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- pezkuwi-assethub.yaml | 2 +- pezkuwi-governance.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pezkuwi-assethub.yaml b/pezkuwi-assethub.yaml index d22bece..ca929db 100644 --- a/pezkuwi-assethub.yaml +++ b/pezkuwi-assethub.yaml @@ -19,7 +19,7 @@ network: dataSources: - name: main kind: substrate/Runtime - startBlock: 582592 + startBlock: 1029200 mapping: file: ./dist/index.js handlers: diff --git a/pezkuwi-governance.yaml b/pezkuwi-governance.yaml index 6bbf3bd..18cce20 100644 --- a/pezkuwi-governance.yaml +++ b/pezkuwi-governance.yaml @@ -22,7 +22,7 @@ network: dataSources: - name: governance kind: substrate/Runtime - startBlock: 57100 + startBlock: 1228500 mapping: file: ./dist/index.js handlers: