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

Error parsing failed extrinsics on custom chain #146

Open
zoheb391 opened this issue Aug 11, 2021 · 7 comments
Open

Error parsing failed extrinsics on custom chain #146

zoheb391 opened this issue Aug 11, 2021 · 7 comments

Comments

@zoheb391
Copy link
Contributor

This results in 0 events and causes the block to not get finalized.

ERR: Decode Event get error  Recovering from panic in DecodeEvent error is: Not find Extrinsic Lookup 0100, please check metadata info 

This is the extrinsic on polkadot.js. Please can you help debug? The issue might be origination on the scale.go project

Polkadot_Substrate_Portal

@freehere107
Copy link
Collaborator

@zoheb391 hello, what are you network run?

@freehere107
Copy link
Collaborator

Maybe you can use https://github.com/itering/scale.go/tree/master/network, here may be able to help you

@zoheb391
Copy link
Contributor Author

@freehere107 thanks for looking into it.. We are running a custom network. All our types have been specified

@freehere107
Copy link
Collaborator

ok, you can try reg this types

{
  "Weight": "u64",
  "CompactAssignments": "CompactAssignmentsLatest",
  "RefCount": "u32",
  "Address": "MultiAddress",
  "LookupSource": "MultiAddress",
  "AccountInfo": "AccountInfoWithTripleRefCount"
}

@zoheb391
Copy link
Contributor Author

Thanks, the DecodeEvent error is not there anymore but i'm still seeing this

ERR: Recovering from panic in DecodeExtrinsic error is: Not find Extrinsic Lookup d482, please check metadata info 

This is what my types look like

{
 "AccountInfo": {
   "nonce": "Index",
   "consumers": "RefCount",
   "providers": "RefCount",
   "data": "()"
 },
 "Address": "MultiAddress",
 "AggKeySignature": "U256",
 "Amount": "TokenAmount",
 "AuctionError": {
   "_enum": ["BondIsZero", "Empty", "MinValidatorSize"]
 },
 "AuctionIndex": "u64",
 "AuctionPhase": {
   "_enum": {
     "WaitingForBids": "(Vec<ValidatorId>, Amount)",
     "BidsTaken": "(Vec<(ValidatorId, Amount)>)",
     "WinnersSelected": "(Vec<ValidatorId>, Amount)"
   }
 },
 "AuctionRange": "(u32,u32)",
 "CallHash": "[u8;32]",
 "ClaimDetailsFor": {
   "amount": "FlipBalance",
   "nonce": "Nonce",
   "address": "EthereumAddress",
   "expiry": "Duration",
   "signature": "Option<Signature>"
 },
 "Duration": "(u64,u32)",
 "EpochIndex": "u32",
 "EthereumAddress": "[u8;20]",
 "EthTransactionHash": "[u8;32]",
 "FlipAccount": {
   "stake": "FlipBalance",
   "validator_bond": "FlipBalance"
 },
 "FlipBalance": "u128",
 "ImbalanceSource": {
   "_enum": ["External", "Account(AccountId)", "Emissions"]
 },
 "LookupSource": "MultiAddress",
 "Nonce": "u64",
 "Retired": "bool",
 "Signature": "H256",
 "TokenAmount": "u128",
 "ValidatorId": "AccountId",
 "ValidatorSize": "u32",
 "VoteCount": "u32",
 "Weight": "u64",
 "CompactAssignments": "CompactAssignmentsLatest",
 "RefCount": "u32"
}

@freehere107
Copy link
Collaborator

freehere107 commented Aug 17, 2021

@zoheb391 What's your sudo extrinsic did?

@zoheb391
Copy link
Contributor Author

@freehere107 we are still testing. This extrinsic set an auction range but none of the other calls are working either.

Polkadot_Substrate_Portal

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