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