Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create Enum when receive block 2496 #92

Open
Asmadek opened this issue Feb 7, 2022 · 1 comment
Open

Unable to create Enum when receive block 2496 #92

Asmadek opened this issue Feb 7, 2022 · 1 comment

Comments

@Asmadek
Copy link

Asmadek commented Feb 7, 2022

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
Copy link

👍 same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants