You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constwsProvider=newWsProvider("wss://hk.p.bifrost-rpc.liebi.com/ws");constparachain_api=awaitApiPromise.create({provider: wsProvider});constresult=awaitparachain_api.query.polkadotXcm.queries(0);console.log(result.toString())// {"versionNotifier":{"origin":{"v2":{"parents":1,"interior":{"here":null}}},"isActive":true}}constresult1=awaitparachain_api.query.polkadotXcm.queries(1);// error: Error: Unable to decode storage polkadotXcm.queries
full logs:
Error: Unable to decode storage polkadotXcm.queries: entry 0:: createType(PalletXcmQueryStatus):: {"_enum":{"Pending":"{"responder":"XcmVersionedMultiLocation","maybeMatchQuerier":"Option","maybeNotify":"Option<(u8,u8)>","timeout":"u32"}","VersionNotifier":"{"origin":"XcmVersionedMultiLocation","isActive":"bool"}","Ready":"{"response":"XcmVersionedResponse","at":"u32"}"}}:: Decoded input doesn't match input, received 0x0001010000e0d80900 (9 bytes), created 0x000101000001d80900000000 (12 bytes)
The text was updated successfully, but these errors were encountered:
full logs:
Error: Unable to decode storage polkadotXcm.queries: entry 0:: createType(PalletXcmQueryStatus):: {"_enum":{"Pending":"{"responder":"XcmVersionedMultiLocation","maybeMatchQuerier":"Option","maybeNotify":"Option<(u8,u8)>","timeout":"u32"}","VersionNotifier":"{"origin":"XcmVersionedMultiLocation","isActive":"bool"}","Ready":"{"response":"XcmVersionedResponse","at":"u32"}"}}:: Decoded input doesn't match input, received 0x0001010000e0d80900 (9 bytes), created 0x000101000001d80900000000 (12 bytes)
The text was updated successfully, but these errors were encountered: