Giter Site home page Giter Site logo

Comments (4)

Imod7 avatar Imod7 commented on June 14, 2024 1

Same Issue

I can confirm that I see the same error message when requesting

  • the same block (5482732)
  • and while also connected to Westend Asset Hub

either by :

Findings / Thoughts

This error message is triggered here so the call missing is in section = 5 and is the method with index 69 right ? Based on the docs, the section signifies the pallet of the extrinsic but in Westend Asset Hub I do not see any pallet with index 5 🤔. Maybe I am missing something.

Any ideas which method/call is causing the issue ?

Reproducing the error with pjs

Trying to reproduce the same error with pjs. After running this github gist code the error returned is the same as above

2023-10-23 15:17:35        API/INIT: westmint/9435: Not decorating runtime apis without matching versions: FungiblesApi/2 (1 known)
2023-10-23 15:17:35        API/INIT: westmint/9435: Not decorating unknown runtime apis: 0x8a8047a53a8277ec/1
2023-10-23 15:17:35             VEC: Unable to decode on index 2 createType(ExtrinsicV4):: createType(Call):: findMetaCall: Unable to find Call with index [5, 69]/[5,69]
2023-10-23 15:17:35        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call):: findMetaCall: Unable to find Call with index [5, 69]/[5,69]
Error: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call):: findMetaCall: Unable to find Call with index [5, 69]/[5,69]
    at createTypeUnsafe (/Users/dominique/Documents/Parity/test-js/node_modules/@polkadot/types-create/cjs/create/type.js:54:22)
    at TypeRegistry.createTypeUnsafe (/Users/dominique/Documents/Parity/test-js/node_modules/@polkadot/types/cjs/create/registry.js:271:52)
    at RpcCore._formatOutput (/Users/dominique/Documents/Parity/test-js/node_modules/@polkadot/rpc-core/cjs/bundle.js:309:25)
    at RpcCore._formatResult (/Users/dominique/Documents/Parity/test-js/node_modules/@polkadot/rpc-core/cjs/bundle.js:147:20)
    at callWithRegistry (/Users/dominique/Documents/Parity/test-js/node_modules/@polkadot/rpc-core/cjs/bundle.js:168:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

and the line where the code breaks is (the getBlock call for the specific blockHash) :

const signedBlock = await api.rpc.chain.getBlock(blockHash);

from api.

jacogr avatar jacogr commented on June 14, 2024 1

Closing on the back of the comments. Feel free to re-open if there is another issue not solved by the PRs.

from api.

bee344 avatar bee344 commented on June 14, 2024

This should be closed by #5752

from api.

polkadot-js-bot avatar polkadot-js-bot commented on June 14, 2024

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.

from api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.