paritytech / substrate-api-sidecar

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.
https://paritytech.github.io/substrate-api-sidecar/dist/
GNU General Public License v3.0
245 stars 151 forks source link

Polkadot and Kusama use /blocks/head err #1058

Closed LXHLeaner closed 2 years ago

LXHLeaner commented 2 years ago

Description

Polkadot and Kusama use /blocks/head err

message

"createType(RuntimeDispatchInfo):: Struct: failed on weight: u64:: Assertion failed"

stack

"Error: createType(RuntimeDispatchInfo):: Struct: failed on weight: u64:: Assertion failed at createTypeUnsafe (/Users/lc/Documents/TestGoProject/src/karura/substrate-api-sidecar/node_modules/@polkadot/types-create/cjs/create/type.js:73:18) at TypeRegistry.createTypeUnsafe (/Users/lc/Documents/TestGoProject/src/karura/substrate-api-sidecar/node_modules/@polkadot/types/cjs/create/registry.js:353:46) at RpcCore._formatOutput (/Users/lc/Documents/TestGoProject/src/karura/substrate-api-sidecar/node_modules/@polkadot/rpc-core/cjs/bundle.js:427:21) at RpcCore._formatResult (/Users/lc/Documents/TestGoProject/src/karura/substrate-api-sidecar/node_modules/@polkadot/rpc-core/cjs/bundle.js:232:27) at callWithRegistry (/Users/lc/Documents/TestGoProject/src/karura/substrate-api-sidecar/node_modules/@polkadot/rpc-core/cjs/bundle.js:260:19) at processTicksAndRejections (node:internal/process/task_queues:96:5)"

TarikGul commented 2 years ago

Closing in favor of: https://github.com/paritytech/substrate-api-sidecar/issues/1057

This is a known issue.