mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-04-21 22:27:56 +00:00
fix: set startBlock to current chain height
RPC nodes run in pruned mode (~256 blocks state history). Setting startBlock to recent blocks ensures all required state is available. Old blocks have no significant user transactions to index.
This commit is contained in:
@@ -19,7 +19,7 @@ network:
|
||||
dataSources:
|
||||
- name: main
|
||||
kind: substrate/Runtime
|
||||
startBlock: 1
|
||||
startBlock: 56400
|
||||
mapping:
|
||||
file: ./dist/index.js
|
||||
handlers:
|
||||
|
||||
@@ -22,7 +22,7 @@ network:
|
||||
dataSources:
|
||||
- name: governance
|
||||
kind: substrate/Runtime
|
||||
startBlock: 1
|
||||
startBlock: 57100
|
||||
mapping:
|
||||
file: ./dist/index.js
|
||||
handlers:
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ network:
|
||||
dataSources:
|
||||
- name: main
|
||||
kind: substrate/Runtime
|
||||
startBlock: 1
|
||||
startBlock: 57100
|
||||
mapping:
|
||||
file: ./dist/index.js
|
||||
handlers:
|
||||
|
||||
Reference in New Issue
Block a user