Closed daniel-savu closed 3 years ago
No idea. I would suggest debugging with your specific setup to see what is missing.
For interbtc, the instances
option to the API define where balances live. So it would seem in this case it is not applied?
https://github.com/interlay/interbtc-types/blob/master/definitions.json#L499-L504
EDIT: Actually in this case it would mean that that instances are available to the API, however the actual modules are not there at all. So when it tries to query the modules for balances, it fails.
@jacogr I think that has solved the first issue but we now see the following error:
Unable to decode storage system.account: entry 0:: createType(AccountInfo):: {"nonce":"Index","consumers":"RefCount","providers":"RefCount","sufficients":"RefCount","data":"AccountData"}:: Decoded input doesn't match input, received 0x0000000000000000010000000000000000000000000000000000000000000000…0000000000000000000000000000000000000000000000000000000000000000 (80 bytes), created 0x0000000000000000010000000000000000000000000000000000000000000000…0000000000000000000000000000000000000000000000000000000000000000 (100 bytes)
The AccountInfo type is incorrect. If I had to guess, it may be an older structure without sufficients.
We use the overridden type specified in orml
, could that be the issue? https://github.com/open-web3-stack/open-runtime-module-library/blob/5babe0b71cf60538ca23d41231f9558816c52ae9/tokens/src/lib.rs#L126
Since AccountData
is in the AccountInfo
struct, yes, if changed, it needs to be specified.
Closing, answered.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
I have a
rococo-local
relay chain to which I connected theinterbtc-parachain
(the setup is here for reference.In
polkadot-apps
, I can submit signed extrinsics to the relay chain, but not to the parachain. After clicking theSign and Submit
button, instead of being shown the wallet signature dialog, I get this error:In the console, the error is logged multiple times: