Update genesis hashes and startBlock for mainnet relaunch

- Relay chain: 0xbb4a61ab... -> 0x1aa94987...
- Asset Hub: 0x00d0e1d0... -> 0xe7c15092...
- Reset startBlock to 1 for full re-index from genesis
This commit is contained in:
2026-02-15 22:18:07 +03:00
parent 8f051d719a
commit eefae7469d
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -13,13 +13,13 @@ repository: https://github.com/pezkuwichain/pezkuwi-subquery
schema:
file: ./schema.graphql
network:
chainId: "0x00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948"
chainId: "0xe7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949"
endpoint:
- wss://asset-hub-rpc.pezkuwichain.io
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 198000
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
+2 -2
View File
@@ -13,7 +13,7 @@ repository: https://github.com/pezkuwichain/pezkuwi-subquery
schema:
file: ./schema.graphql
network:
chainId: "0xbb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75"
chainId: "0x1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca"
endpoint:
- wss://rpc.pezkuwichain.io
- wss://mainnet.pezkuwichain.io
@@ -22,7 +22,7 @@ network:
dataSources:
- name: main
kind: substrate/Runtime
startBlock: 199000
startBlock: 1
mapping:
file: ./dist/index.js
handlers:
+2 -2
View File
@@ -1,8 +1,8 @@
// Pezkuwi chain genesis hashes (with 0x prefix, as the app expects)
export const PEZKUWI_RELAY_GENESIS =
"0xbb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75";
"0x1aa94987791a5544e9667ec249d2cef1b8fdd6083c85b93fc37892d54a1156ca";
export const PEZKUWI_ASSET_HUB_GENESIS =
"0x00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948";
"0xe7c15092dcbe3f320260ddbbc685bfceed9125a3b3d8436db2766201dec3b949";
// Staking type identifiers (must match the app's mapStakingTypeToSubQueryId)
export const STAKING_TYPE_RELAYCHAIN = "relaychain";