Error: createType(SignedBlock):: Struct: failed on block: {\"header\":\"Header\",\"extrinsics\":\"Vec<Extrinsic>\"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call)::
xuetong6 opened this issue · comments
the code:
let blockHash = await polapi.rpc.chain.getBlockHash(_blockNum);
let block = await polapi.rpc.chain.getBlock(blockHash);
let allRecords = await polapi.query.system.events.at(block.block.header.hash);
number:21468174
Error: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec"}:: Struct: failed on extrinsics: Vec:: createType(ExtrinsicV4):: createType(Call):: findMetaCall: Unable to find Call with index [1, 7]/[1,7]
number:21468749
Error: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec"}:: Struct: failed on extrinsics: Vec:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding system.killStorage:: Struct: failed on args: {"keys":"Vec"}:: decodeU8aStruct: failed at 0x03002326d02252ce7447206b042b59b4… on keys (index 1/1): Vec:: Vec length 3492160256 exceeds 65536
version: "@polkadot/api": "^9.14.2",
const wsProvider = new DotObj.WsProvider('wss://rpc.polkadot.io');
so how to solve this problem, thank you.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.