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

decode error for U8a #25

Open
alanpoon opened this issue Nov 24, 2019 · 0 comments
Open

decode error for U8a #25

alanpoon opened this issue Nov 24, 2019 · 0 comments

Comments

@alanpoon
Copy link

alanpoon commented Nov 24, 2019

RPC-CORE: getMetadata (block: Hash): Metadata:: createType(Metadata):: U8a: failed on 'MagicNumber':: U8a: failed on 'MetadataEnum':: Unable to create Enum via index 8, in V0, V1, V2, V3, V4, V5, V6, V7
API/DECORATOR: Error: FATAL: Unable to initialize the API: getMetadata (block: Hash): Metadata:: createType(Metadata):: U8a: failed on 'MagicNumber':: U8a: failed on 'MetadataEnum':: Unable to create Enum via index 8, in V0, V1, V2, V3, V4, V5, V6, V7
at EventEmitter.Init._onProviderConnect

node: https://github.com/cennznet/cennznet/tree/feature/60-add-cennzx
frontend dependencies: "dependencies": {
"@cennznet/crml-attestation": "^0.20.7",
"@cennznet/crml-cennzx-spot": "^0.20.7",
"@cennznet/crml-generic-asset": "^0.20.7",
"@cennznet/types": "^0.20.7",
"@plugnet/api": "^0.90.104",
"@plugnet/api-metadata": "^0.90.104",
"@plugnet/rpc-core": "^0.90.104",
"@plugnet/rpc-provider": "^0.90.104",
"@plugnet/types": "^0.90.104",
"eventemitter3": "^4.0.0"
},

Found the ans: I need metadata v8
https://github.com/polkadot-js/api/tree/master/packages/metadata/src/Metadata/v8

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

1 participant