diff --git a/pezkuwi-assethub.yaml b/pezkuwi-assethub.yaml index 26d7806..9f25c0c 100644 --- a/pezkuwi-assethub.yaml +++ b/pezkuwi-assethub.yaml @@ -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: diff --git a/pezkuwi.yaml b/pezkuwi.yaml index 9eed7fd..06eb6d5 100644 --- a/pezkuwi.yaml +++ b/pezkuwi.yaml @@ -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: diff --git a/src/mappings/constants.ts b/src/mappings/constants.ts index be9ecef..1a4c5c4 100644 --- a/src/mappings/constants.ts +++ b/src/mappings/constants.ts @@ -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";