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

Cannot execute polkadot `blocks/3904932` #445

Closed emostov closed 3 years ago

emostov commented 3 years ago

Description

Cannot decode polkadot block #3904932

Steps to Reproduce

api-sidecar version: 3.0.3 ws endpoint: wss://rpc.polkadot.io query: /blocks/3904932

Expected vs. Actual Behavior

see https://github.com/polkadot-js/api/issues/3203

panlilu commented 3 years ago

3908831/3908816 the same issue

mym-xjl commented 3 years ago

node v0.8.28-1 sidecar v3.0.3

REQ > /blocks/3904932 RET > { "code": 500, "message": "createType(SignedBlock):: Struct: failed on block: {\"header\":\"Header\",\"extrinsics\":\"Vec\"}:: Struct: failed on extrinsics: Vec:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding balances.transfer:: Struct: failed on args: {\"dest\":\"LookupSource\",\"value\":\"Compact\"}:: Balance: Input too large. Found input with 164 bits, expected 128", "stack": "Error: createType(SignedBlock):: Struct: failed on block: {\"header\":\"Header\",\"extrinsics\":\"Vec\"}:: Struct: failed on extrinsics: Vec:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding balances.transfer:: Struct: failed on args: {\"dest\":\"LookupSource\",\"value\":\"Compact\"}:: Balance: Input too large. Found input with 164 bits, expected 128\n at createTypeUnsafe (/hbdata/soft/substrate-api-sidecar/node_modules/@polkadot/types/create/createType.js:72:11)\n at RpcCore._formatOutput (/hbdata/soft/substrate-api-sidecar/node_modules/@polkadot/rpc-core/index.js:394:41)\n at callWithRegistry (/hbdata/soft/substrate-api-sidecar/node_modules/@polkadot/rpc-core/index.js:262:42)\n at runMicrotasks ()\n at processTicksAndRejections (internal/process/task_queues.js:97:5)", "level": "error" } same too

LmingXie commented 3 years ago

/blocks/3904932 the same issue

Error: createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(Call):: Call: failed decoding balances.transfer:: Struct: failed on args: {"dest":"LookupSource","value":"Compact<Balance>"}:: Balance: Input too large. Found input with 164 bits, expected 128
anhcao142 commented 3 years ago

I also have the same issue.

dvdplm commented 3 years ago

We have released v3.0.4 that should address this problem. Thank you for the quick reports on this. :)

emostov commented 3 years ago

Closed by #446