Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

api.rpc.payment.queryInfo #889

Closed
xihucuyu888 opened this issue Mar 9, 2020 · 3 comments
Closed

api.rpc.payment.queryInfo #889

xihucuyu888 opened this issue Mar 9, 2020 · 3 comments

Comments

@xihucuyu888
Copy link

  • v0.7.22
  • RPC-CORE: queryInfo(extrinsic: Bytes, at?: BlockHash): RuntimeDispatchInfo:: 2: Unable to query dispatch info.: Error("No such variant in enum Mu
    (node:31674) UnhandledPromiseRejectionWarning: Error: queryInfo(extrinsic: Bytes, at?: BlockHash): RuntimeDispatchInfo:: 2: Unable to query dispatch info.: Error("No such variant in enum Mu

HsiaDmobwBdWEWxc8conidvJ4XHz3v94GMnX5AvsN1tpjc8

@bkchr
Copy link
Member

bkchr commented Mar 9, 2020

CC @jacogr

@jacogr
Copy link
Contributor

jacogr commented Mar 9, 2020

It will go away at block 1,375,086 on Kusama once the runtime upgrade takes effect... hopefully :)

The tx format has changed and the RPC node is currently ahead of the runtime and therefore decodes it incorrectly. The runtime expects type Address = StaticLookup::Source and the RPC uses type Address = AccountId

@jacogr
Copy link
Contributor

jacogr commented Mar 9, 2020

Closing, after the upgrade (despite some other issues), the RPC is working as expected again since the polkadot-node & runtime is in-sync with types. (The error was in-place since the bump to 0.7.22, which supported the 1055 runtime natively)

image

@jacogr jacogr closed this as completed Mar 9, 2020
HCastano added a commit to HCastano/polkadot that referenced this issue Apr 15, 2021
5330d84e CLI: naming clean-up. (paritytech#897)
f99f2225 Westend<>Rococo Headers Relay (paritytech#875)
72c9117b Use complex headers+messages relay in test deployments (paritytech#905)
48423d5b Stop recursing when creating test headers (paritytech#906)
f8586fd4 Fix outstanding bridge names. (paritytech#901)
54b683b3 Complex headers+messages Millau<->Rialto relay (paritytech#878)
c0e77ca1 fix message generator scripts (paritytech#900)
debf3a82 Use Substrate state_getReadProof RPC method to get storage proofs (paritytech#893)
c3fa7216 Support more than `u8::max_value` GRANDPA validators (paritytech#896)
e5cb87f9 Grandpa Pallet Pruning (paritytech#890)
0b6a8920 RestartNeeded is a connection error (paritytech#894)
2cf5fa26 CLI: Estimate Fee (paritytech#888)
7dace624 CLI: Send Message (paritytech#886)
f8eaecfa CLI: Encode Message (paritytech#889)
1610f868 Bump `jsonrpsee` to Alpha.3 (paritytech#892)
d665b531 Use new Cargo feature resolver (paritytech#891)
ce2ee6ed Rialto Millau Maintenance Dashboard (paritytech#881)
7c585ce8 Revert to older nightly. (paritytech#887)
73a0470e Adding GrandpaJustification custom type (paritytech#882)
b9ccea9c Install CA certificates in relay images (paritytech#880)
ec7841a2 fix widget names (paritytech#879)
REVERT: 746a4027 Accidentally committed `cargo-expand`ed code 🤦
REVERT: 1a5d09c5 Add note to more closely match `initialize` Call variant
REVERT: fdd6e6b3 Add `submit_finality_proof` mock Call variant
REVERT: 768b053e Simplify the Rococo and Westend signing params
REVERT: 62aca80e Add Westend<>Rococo variants to `relay_headers`
REVERT: 0bcb0f51 Add Westend<>Rococo variants to `init_bridge`
REVERT: 01d1305f Use mock Westend and Rococo finaltiy tx calls
REVERT: fb34b9dd Add modules for Rococo<>Westend header sync

git-subtree-dir: bridges
git-subtree-split: 5330d84e9511e38cf9d9ec765bee865fedd4b260
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants