Conversation
🦋 Changeset detectedLatest commit: 9abf016 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
🧚 Live preview: galacticcouncil/hydration-ui#3751 |
|
🧚 Live preview: galacticcouncil/hydration-ui#3755 |
| const result = await this.api().apis.XcmPaymentApi.query_delivery_fees( | ||
| destination, | ||
| { type: 'V5', value: xcm }, | ||
| XcmVersionedXcm.V4(xcm), |
There was a problem hiding this comment.
why removing newer V5 in favor of v4 ?
There was a problem hiding this comment.
We are sending a v4 instructions so we can be generic, and the new papi is throwing error on that because it won't allow wrapping v5 with v4 instructions type
| @@ -1,5 +1,5 @@ | |||
| import { createClient, PolkadotClient } from 'polkadot-api'; | |||
There was a problem hiding this comment.
as provider api is now exposed via client we don't have to cache client/provider pair .. Don't see new impl here.
There was a problem hiding this comment.
Missed this, will update
| @@ -1,12 +1,18 @@ | |||
| type NestedEnum = { type: string; value?: NestedEnum } | undefined; | |||
| type NestedEnum = { type: string; value?: unknown }; | |||
There was a problem hiding this comment.
why unknown ? NestedEnum can have only NestedEnums as childs no ?
There was a problem hiding this comment.
I wasn't sure so i widened it a bit. I'll check more and return it if i don't find any example that fails
|
🧚 Live preview: galacticcouncil/hydration-ui#3757 |
Uh oh!
There was an error while loading. Please reload this page.