subquery / subql

SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the future.
https://subquery.network
GNU General Public License v3.0
19.06k stars 329 forks source link

Karura Can't Process Past 43239 #1362

Closed jamesbayly closed 1 year ago

jamesbayly commented 1 year ago

Prerequisites

Description

  1. Use the Starter Project for Karura (non EVM).
  2. Update start block to 43230
  3. Start Indexer
karura-starter-graphql-engine-1  | 2022-10-21T01:54:06.741Z <subql-query> INFO Started playground at http://localhost:3000 
karura-starter-graphql-engine-1  | 2022-10-21T01:54:07.104Z <nestjs> INFO Nest application successfully started 
karura-starter-subquery-node-1   | 2022-10-21 01:54:07        REGISTRY: Unknown signed extensions SetEvmOrigin found, treating them as no-effect
karura-starter-subquery-node-1   | 2022-10-21T01:54:07.838Z <BlockDispatcherService> INFO Enqueing blocks 43230...43329, total 100 blocks 
karura-starter-subquery-node-1   | 2022-10-21T01:54:07.838Z <BlockDispatcherService> INFO fetch block [43230,43329], total 100 blocks 
karura-starter-subquery-node-1   | 2022-10-21T01:54:07.843Z <BlockDispatcherService> INFO Enqueing blocks 43330...43429, total 100 blocks 
karura-starter-subquery-node-1   | 2022-10-21T01:54:07.843Z <BlockDispatcherService> INFO Enqueing blocks 43430...43529, total 100 blocks 
karura-starter-subquery-node-1   | 2022-10-21T01:54:07.843Z <BlockDispatcherService> INFO Enqueing blocks 43530...43629, total 100 blocks 
karura-starter-subquery-node-1   | 2022-10-21 01:54:10        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: Unable to decode storage system.events:: createType(Vec<EventRecord>):: Vec<EventRecord>:: Decoded input doesn't match input, received 0x10000000000000005095a2090000000002000000010000000000000000000000…000000000000000000000000020000000001033d09c83af72300000000010000 (82 bytes), created 0x10000000000000005095a2090000000002000000010000000000000000000000…000000000000000000020000000001033d09c83af72300000000010000000000 (85 bytes)
karura-starter-subquery-node-1   | 2022-10-21T01:54:10.982Z <fetch> ERROR failed to fetch events at block 0x472c47d7058b408a760f3089c3728470d85ad041e81a91d1ef16fe7be44dad2a 
karura-starter-subquery-node-1   | 2022-10-21T01:54:10.983Z <BlockDispatcherService> ERROR Failed to fetch blocks from queue Error: Unable to decode storage system.events:: createType(Vec<EventRecord>):: Vec<EventRecord>:: Decoded input doesn't match input, received 0x10000000000000005095a2090000000002000000010000000000000000000000…000000000000000000000000020000000001033d09c83af72300000000010000 (82 bytes), created 0x10000000000000005095a2090000000002000000010000000000000000000000…000000000000000000020000000001033d09c83af72300000000010000000000 (85 bytes)
karura-starter-subquery-node-1 exited with code 1

Any other information

Is there any other information you would like to add?

jamesbayly commented 1 year ago

Problem with official types https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkarura.api.onfinality.io%2Fpublic-ws#/explorer/query/0x472c47d7058b408a760f3089c3728470d85ad041e81a91d1ef16fe7be44dad2a

jamesbayly commented 1 year ago

From Acala "Our engineer confirmed that the current version of polkadot.js sdk is unable to decode the event list, he is trying to use a lower version of polkadot.js, need some time to find the problem and solution"

jamesbayly commented 1 year ago

https://github.com/polkadot-js/apps/issues/8276