Historic XcmV0 BuyExecution fix (#5041)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
Changes:
|
||||
|
||||
- Adjust `Opaque{Metadata, Multiaddr, PeerId}` decoding to `Opaque<Bytes>`
|
||||
- Fix historic `XcmV0` definitions for `BuyExecution`
|
||||
- Adjust type generation to correctly cater for ambient definitions
|
||||
- Improve type argument generation for `Option<...>` types
|
||||
|
||||
|
||||
@@ -820,7 +820,7 @@ export interface XcmOrderV0 extends Enum {
|
||||
} & Struct;
|
||||
readonly isInitiateTeleport: boolean;
|
||||
readonly asInitiateTeleport: {
|
||||
readonly assets: Vec<MultiAsset>;
|
||||
readonly assets: Vec<MultiAssetV0>;
|
||||
readonly dest: MultiLocationV0;
|
||||
readonly effects: Vec<XcmOrderV0>;
|
||||
} & Struct;
|
||||
@@ -832,7 +832,7 @@ export interface XcmOrderV0 extends Enum {
|
||||
} & Struct;
|
||||
readonly isBuyExecution: boolean;
|
||||
readonly asBuyExecution: {
|
||||
readonly fees: MultiAsset;
|
||||
readonly fees: MultiAssetV0;
|
||||
readonly weight: u64;
|
||||
readonly debt: u64;
|
||||
readonly haltOnError: bool;
|
||||
|
||||
@@ -204,7 +204,7 @@ export const v0: DefinitionsTypes = {
|
||||
effects: 'Vec<XcmOrderV0>'
|
||||
},
|
||||
InitiateTeleport: {
|
||||
assets: 'Vec<MultiAsset>',
|
||||
assets: 'Vec<MultiAssetV0>',
|
||||
dest: 'MultiLocationV0',
|
||||
effects: 'Vec<XcmOrderV0>'
|
||||
},
|
||||
@@ -214,7 +214,7 @@ export const v0: DefinitionsTypes = {
|
||||
assets: 'Vec<MultiAssetV0>'
|
||||
},
|
||||
BuyExecution: {
|
||||
fees: 'MultiAsset',
|
||||
fees: 'MultiAssetV0',
|
||||
weight: 'u64',
|
||||
debt: 'u64',
|
||||
haltOnError: 'bool',
|
||||
|
||||
Reference in New Issue
Block a user