Closed daniel-savu closed 3 years ago
This one (containing metadata v14 and reworking all type handling) is a rough upgrade for me :)
I appreciate the bug reports to pickup stuff I missed.
It should be fixed in 6.0.5 which is current building on CI and should be available in 10-odd minutes.
Please test once available. If it is still problematic (let's hope not), please send me a link to the repo so I can step through bit by bit.
That fixed it, thanks! I upgraded in the hope that .at(blockhash)
queries would be fixed, but it seems like they're still returning undefined
. I checked the docs and the syntax hasn't changed. The query that doesn't work uses a custom struct type: https://github.com/interlay/interbtc-api/blob/master/src/parachain/oracle.ts#L122
(The query works without .at
)
Would need to replicate - please do the following -
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.
When updating to v6.0.4 from v5.3.2, I'm getting compilation errors in
augment-api-query.ts
such asI can see that the
Option
type is not imported by the auto-generated code inaugment-api-query.ts
. These errors do not occur inaugment-api-rpc.ts
, where theOption
type is imported from@polkadot/types