interlay / interbtc-types

TypeScript types for Kintsugi and Interlay networks
Apache License 2.0
1 stars 1 forks source link

Unable to create Enum when receive block 2496 #92

Open Asmadek opened 2 years ago

Asmadek commented 2 years ago

Hello, can you help me with my problem?

When I try to receive block number 2496 (hash 0x2c4cfcd4f2ace08d27fb3bc7989d3232cdedc87555101901541811ee236da16e) I receive such error.

createType(SignedBlock):: Struct: failed on block: {"header":"Header","extrinsics":"Vec<Extrinsic>"}:: Struct: failed on extrinsics: Vec<Extrinsic>:: createType(ExtrinsicV4):: createType(ExtrinsicSignatureV4):: decodeU8a: failed at 0x52c4f145e6facbd0ec71bc0831ddb7b5… on signer: {"_enum":{"Id":"AccountId","Index":"Compact<AccountIndex>","Raw":"Bytes","Address32":"H256","Address20":"H160"}}:: Unable to create Enum via index 82, in Id, Index, Raw, Address32, Address20

I am using version of polkadot/api 7.7.1

This Enum looks like GenericMultiAddress from polkadot types

dzhelezov commented 2 years ago

👍 same issue