Closed malingzhao closed 1 month ago
Could you explain a bit more on this error?
use the substrate api sidecar
version: "3.5" services: polkadot: container_name: polkadot image: docker.io/availj/avail:v2.2.3.0-rc1 volumes:
https://github.com/availproject/avail-substrate-api-sidecar use this docker build also has the error
version: "3.5" services: polkadot: container_name: polkadot image: docker.io/availj/avail:v2.2.3.0-rc1 volumes:
if using docker use docker pull availj/sidecar-api:zenitsu
ok
now is ok, thank you very much
closing this as it resolved
@malingzhao Is your substrate-api-sidecar mainnet working? Why I request 127.0.0.1:8080 / blocks/head error
{
"code": 500,
"message": "createType(SignedBlock):: Struct: failed on block: {\"header\":\"Header\",\"extrinsics\":\"Vec
turing testnet is ok, how did you install the main node , could you share your install guides of mainnet, I will test for it
I use deployment docker way you mentioned is possible, in a main node, but not https://github.com/availproject/avail-substrate-api-sidecar code
oh
{"code":500,"message":"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 [144, 29]/[144,29]","stack":"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 [144, 29]/[144,29]\n at createTypeUnsafe (/usr/src/app/node_modules/@polkadot/types-create/cjs/create/type.js:54:22)\n at TypeRegistry.createTypeUnsafe (/usr/src/app/node_modules/@polkadot/types/cjs/create/registry.js:230:52)\n at RpcCore._formatOutput (/usr/src/app/node_modules/@polkadot/rpc-core/cjs/bundle.js:331:25)\n at RpcCore._formatResult (/usr/src/app/node_modules/@polkadot/rpc-core/cjs/bundle.js:169:20)\n at callWithRegistry (/usr/src/app/node_modules/@polkadot/rpc-core/cjs/bundle.js:190:25)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","level":"error"}root@testWallet:/data/avail#