XCM: Rename Instruction instructions to Command instructions (#7593)

Co-authored-by: parity-processbot <>
This commit is contained in:
Keith Yeung
2023-08-14 14:30:12 -07:00
committed by GitHub
parent 37dccb1435
commit e9c6c72f5a
2 changed files with 62 additions and 62 deletions
+22 -22
View File
@@ -434,7 +434,7 @@ pub enum Instruction<RuntimeCall> {
/// ///
/// - `assets`: The asset(s) to be withdrawn into holding. /// - `assets`: The asset(s) to be withdrawn into holding.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
WithdrawAsset(MultiAssets), WithdrawAsset(MultiAssets),
@@ -492,7 +492,7 @@ pub enum Instruction<RuntimeCall> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
TransferAsset { assets: MultiAssets, beneficiary: MultiLocation }, TransferAsset { assets: MultiAssets, beneficiary: MultiLocation },
@@ -512,7 +512,7 @@ pub enum Instruction<RuntimeCall> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
TransferReserveAsset { assets: MultiAssets, dest: MultiLocation, xcm: Xcm<()> }, TransferReserveAsset { assets: MultiAssets, dest: MultiLocation, xcm: Xcm<()> },
@@ -527,7 +527,7 @@ pub enum Instruction<RuntimeCall> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
Transact { Transact {
@@ -600,14 +600,14 @@ pub enum Instruction<RuntimeCall> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
ClearOrigin, ClearOrigin,
/// Mutate the origin to some interior location. /// Mutate the origin to some interior location.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
DescendOrigin(InteriorMultiLocation), DescendOrigin(InteriorMultiLocation),
@@ -623,7 +623,7 @@ pub enum Instruction<RuntimeCall> {
/// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the /// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the
/// response may not execute at all. /// response may not execute at all.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
ReportError { ReportError {
@@ -643,7 +643,7 @@ pub enum Instruction<RuntimeCall> {
/// removed, prioritized under standard asset ordering. Any others will remain in holding. /// removed, prioritized under standard asset ordering. Any others will remain in holding.
/// - `beneficiary`: The new owner for the assets. /// - `beneficiary`: The new owner for the assets.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
DepositAsset { DepositAsset {
@@ -669,7 +669,7 @@ pub enum Instruction<RuntimeCall> {
/// - `xcm`: The orders that should follow the `ReserveAssetDeposited` instruction which is /// - `xcm`: The orders that should follow the `ReserveAssetDeposited` instruction which is
/// sent onwards to `dest`. /// sent onwards to `dest`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
DepositReserveAsset { DepositReserveAsset {
@@ -689,7 +689,7 @@ pub enum Instruction<RuntimeCall> {
/// - `give`: The asset(s) to remove from holding. /// - `give`: The asset(s) to remove from holding.
/// - `receive`: The minimum amount of assets(s) which `give` should be exchanged for. /// - `receive`: The minimum amount of assets(s) which `give` should be exchanged for.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
ExchangeAsset { give: MultiAssetFilter, receive: MultiAssets }, ExchangeAsset { give: MultiAssetFilter, receive: MultiAssets },
@@ -705,7 +705,7 @@ pub enum Instruction<RuntimeCall> {
/// - `xcm`: The instructions to execute on the assets once withdrawn *on the reserve /// - `xcm`: The instructions to execute on the assets once withdrawn *on the reserve
/// location*. /// location*.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
InitiateReserveWithdraw { assets: MultiAssetFilter, reserve: MultiLocation, xcm: Xcm<()> }, InitiateReserveWithdraw { assets: MultiAssetFilter, reserve: MultiLocation, xcm: Xcm<()> },
@@ -721,7 +721,7 @@ pub enum Instruction<RuntimeCall> {
/// NOTE: The `dest` location *MUST* respect this origin as a valid teleportation origin for /// NOTE: The `dest` location *MUST* respect this origin as a valid teleportation origin for
/// all `assets`. If it does not, then the assets may be lost. /// all `assets`. If it does not, then the assets may be lost.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
InitiateTeleport { assets: MultiAssetFilter, dest: MultiLocation, xcm: Xcm<()> }, InitiateTeleport { assets: MultiAssetFilter, dest: MultiLocation, xcm: Xcm<()> },
@@ -739,7 +739,7 @@ pub enum Instruction<RuntimeCall> {
/// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the /// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the
/// response may not execute at all. /// response may not execute at all.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
QueryHolding { QueryHolding {
@@ -759,14 +759,14 @@ pub enum Instruction<RuntimeCall> {
/// expected maximum weight of the total XCM to be executed for the /// expected maximum weight of the total XCM to be executed for the
/// `AllowTopLevelPaidExecutionFrom` barrier to allow the XCM be executed. /// `AllowTopLevelPaidExecutionFrom` barrier to allow the XCM be executed.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
BuyExecution { fees: MultiAsset, weight_limit: WeightLimit }, BuyExecution { fees: MultiAsset, weight_limit: WeightLimit },
/// Refund any surplus weight previously bought with `BuyExecution`. /// Refund any surplus weight previously bought with `BuyExecution`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
RefundSurplus, RefundSurplus,
@@ -782,7 +782,7 @@ pub enum Instruction<RuntimeCall> {
/// weight however includes only the difference between the previous handler and the new /// weight however includes only the difference between the previous handler and the new
/// handler, which can reasonably be negative, which would result in a surplus. /// handler, which can reasonably be negative, which would result in a surplus.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
SetErrorHandler(Xcm<RuntimeCall>), SetErrorHandler(Xcm<RuntimeCall>),
@@ -798,14 +798,14 @@ pub enum Instruction<RuntimeCall> {
/// weight however includes only the difference between the previous appendix and the new /// weight however includes only the difference between the previous appendix and the new
/// appendix, which can reasonably be negative, which would result in a surplus. /// appendix, which can reasonably be negative, which would result in a surplus.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
SetAppendix(Xcm<RuntimeCall>), SetAppendix(Xcm<RuntimeCall>),
/// Clear the Error Register. /// Clear the Error Register.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
ClearError, ClearError,
@@ -817,14 +817,14 @@ pub enum Instruction<RuntimeCall> {
/// - `ticket`: The ticket of the asset; this is an abstract identifier to help locate the /// - `ticket`: The ticket of the asset; this is an abstract identifier to help locate the
/// asset. /// asset.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
ClaimAsset { assets: MultiAssets, ticket: MultiLocation }, ClaimAsset { assets: MultiAssets, ticket: MultiLocation },
/// Always throws an error of type `Trap`. /// Always throws an error of type `Trap`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
/// - `Trap`: All circumstances, whose inner value is the same as this item's inner value. /// - `Trap`: All circumstances, whose inner value is the same as this item's inner value.
@@ -839,7 +839,7 @@ pub enum Instruction<RuntimeCall> {
/// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the /// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the
/// response may not execute at all. /// response may not execute at all.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible* /// Errors: *Fallible*
SubscribeVersion { SubscribeVersion {
@@ -851,7 +851,7 @@ pub enum Instruction<RuntimeCall> {
/// Cancel the effect of a previous `SubscribeVersion` instruction. /// Cancel the effect of a previous `SubscribeVersion` instruction.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible* /// Errors: *Fallible*
UnsubscribeVersion, UnsubscribeVersion,
+40 -40
View File
@@ -380,7 +380,7 @@ pub enum Instruction<Call> {
/// ///
/// - `assets`: The asset(s) to be withdrawn into holding. /// - `assets`: The asset(s) to be withdrawn into holding.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
WithdrawAsset(MultiAssets), WithdrawAsset(MultiAssets),
@@ -444,7 +444,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
TransferAsset { assets: MultiAssets, beneficiary: MultiLocation }, TransferAsset { assets: MultiAssets, beneficiary: MultiLocation },
@@ -464,7 +464,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
TransferReserveAsset { assets: MultiAssets, dest: MultiLocation, xcm: Xcm<()> }, TransferReserveAsset { assets: MultiAssets, dest: MultiLocation, xcm: Xcm<()> },
@@ -481,7 +481,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
Transact { origin_kind: OriginKind, require_weight_at_most: Weight, call: DoubleEncoded<Call> }, Transact { origin_kind: OriginKind, require_weight_at_most: Weight, call: DoubleEncoded<Call> },
@@ -549,14 +549,14 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
ClearOrigin, ClearOrigin,
/// Mutate the origin to some interior location. /// Mutate the origin to some interior location.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
DescendOrigin(InteriorMultiLocation), DescendOrigin(InteriorMultiLocation),
@@ -567,7 +567,7 @@ pub enum Instruction<Call> {
/// ///
/// - `response_info`: Information for making the response. /// - `response_info`: Information for making the response.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
ReportError(QueryResponseInfo), ReportError(QueryResponseInfo),
@@ -578,7 +578,7 @@ pub enum Instruction<Call> {
/// - `assets`: The asset(s) to remove from holding. /// - `assets`: The asset(s) to remove from holding.
/// - `beneficiary`: The new owner for the assets. /// - `beneficiary`: The new owner for the assets.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
DepositAsset { assets: MultiAssetFilter, beneficiary: MultiLocation }, DepositAsset { assets: MultiAssetFilter, beneficiary: MultiLocation },
@@ -596,7 +596,7 @@ pub enum Instruction<Call> {
/// - `xcm`: The orders that should follow the `ReserveAssetDeposited` instruction which is /// - `xcm`: The orders that should follow the `ReserveAssetDeposited` instruction which is
/// sent onwards to `dest`. /// sent onwards to `dest`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
DepositReserveAsset { assets: MultiAssetFilter, dest: MultiLocation, xcm: Xcm<()> }, DepositReserveAsset { assets: MultiAssetFilter, dest: MultiLocation, xcm: Xcm<()> },
@@ -613,7 +613,7 @@ pub enum Instruction<Call> {
/// and receive accordingly more. If `false`, then prefer to give as little as possible in /// and receive accordingly more. If `false`, then prefer to give as little as possible in
/// order to receive as little as possible while receiving at least `want`. /// order to receive as little as possible while receiving at least `want`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
ExchangeAsset { give: MultiAssetFilter, want: MultiAssets, maximal: bool }, ExchangeAsset { give: MultiAssetFilter, want: MultiAssets, maximal: bool },
@@ -629,7 +629,7 @@ pub enum Instruction<Call> {
/// - `xcm`: The instructions to execute on the assets once withdrawn *on the reserve /// - `xcm`: The instructions to execute on the assets once withdrawn *on the reserve
/// location*. /// location*.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
InitiateReserveWithdraw { assets: MultiAssetFilter, reserve: MultiLocation, xcm: Xcm<()> }, InitiateReserveWithdraw { assets: MultiAssetFilter, reserve: MultiLocation, xcm: Xcm<()> },
@@ -645,7 +645,7 @@ pub enum Instruction<Call> {
/// NOTE: The `dest` location *MUST* respect this origin as a valid teleportation origin for /// NOTE: The `dest` location *MUST* respect this origin as a valid teleportation origin for
/// all `assets`. If it does not, then the assets may be lost. /// all `assets`. If it does not, then the assets may be lost.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
InitiateTeleport { assets: MultiAssetFilter, dest: MultiLocation, xcm: Xcm<()> }, InitiateTeleport { assets: MultiAssetFilter, dest: MultiLocation, xcm: Xcm<()> },
@@ -659,7 +659,7 @@ pub enum Instruction<Call> {
/// will be, asset-wise, *the lesser of this value and the holding register*. No wildcards /// will be, asset-wise, *the lesser of this value and the holding register*. No wildcards
/// will be used when reporting assets back. /// will be used when reporting assets back.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
ReportHolding { response_info: QueryResponseInfo, assets: MultiAssetFilter }, ReportHolding { response_info: QueryResponseInfo, assets: MultiAssetFilter },
@@ -672,14 +672,14 @@ pub enum Instruction<Call> {
/// expected maximum weight of the total XCM to be executed for the /// expected maximum weight of the total XCM to be executed for the
/// `AllowTopLevelPaidExecutionFrom` barrier to allow the XCM be executed. /// `AllowTopLevelPaidExecutionFrom` barrier to allow the XCM be executed.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
BuyExecution { fees: MultiAsset, weight_limit: WeightLimit }, BuyExecution { fees: MultiAsset, weight_limit: WeightLimit },
/// Refund any surplus weight previously bought with `BuyExecution`. /// Refund any surplus weight previously bought with `BuyExecution`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
RefundSurplus, RefundSurplus,
@@ -695,7 +695,7 @@ pub enum Instruction<Call> {
/// weight however includes only the difference between the previous handler and the new /// weight however includes only the difference between the previous handler and the new
/// handler, which can reasonably be negative, which would result in a surplus. /// handler, which can reasonably be negative, which would result in a surplus.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
SetErrorHandler(Xcm<Call>), SetErrorHandler(Xcm<Call>),
@@ -711,14 +711,14 @@ pub enum Instruction<Call> {
/// weight however includes only the difference between the previous appendix and the new /// weight however includes only the difference between the previous appendix and the new
/// appendix, which can reasonably be negative, which would result in a surplus. /// appendix, which can reasonably be negative, which would result in a surplus.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
SetAppendix(Xcm<Call>), SetAppendix(Xcm<Call>),
/// Clear the Error Register. /// Clear the Error Register.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
ClearError, ClearError,
@@ -730,14 +730,14 @@ pub enum Instruction<Call> {
/// - `ticket`: The ticket of the asset; this is an abstract identifier to help locate the /// - `ticket`: The ticket of the asset; this is an abstract identifier to help locate the
/// asset. /// asset.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
ClaimAsset { assets: MultiAssets, ticket: MultiLocation }, ClaimAsset { assets: MultiAssets, ticket: MultiLocation },
/// Always throws an error of type `Trap`. /// Always throws an error of type `Trap`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
/// - `Trap`: All circumstances, whose inner value is the same as this item's inner value. /// - `Trap`: All circumstances, whose inner value is the same as this item's inner value.
@@ -752,7 +752,7 @@ pub enum Instruction<Call> {
/// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the /// is sent as a reply may take to execute. NOTE: If this is unexpectedly large then the
/// response may not execute at all. /// response may not execute at all.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible* /// Errors: *Fallible*
SubscribeVersion { SubscribeVersion {
@@ -763,7 +763,7 @@ pub enum Instruction<Call> {
/// Cancel the effect of a previous `SubscribeVersion` instruction. /// Cancel the effect of a previous `SubscribeVersion` instruction.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible* /// Errors: *Fallible*
UnsubscribeVersion, UnsubscribeVersion,
@@ -774,14 +774,14 @@ pub enum Instruction<Call> {
/// error if the Holding does not contain the assets (to make this an error, use `ExpectAsset` /// error if the Holding does not contain the assets (to make this an error, use `ExpectAsset`
/// prior). /// prior).
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Infallible* /// Errors: *Infallible*
BurnAsset(MultiAssets), BurnAsset(MultiAssets),
/// Throw an error if Holding does not contain at least the given assets. /// Throw an error if Holding does not contain at least the given assets.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
/// - `ExpectationFalse`: If Holding Register does not contain the assets in the parameter. /// - `ExpectationFalse`: If Holding Register does not contain the assets in the parameter.
@@ -789,7 +789,7 @@ pub enum Instruction<Call> {
/// Ensure that the Origin Register equals some given value and throw an error if not. /// Ensure that the Origin Register equals some given value and throw an error if not.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
/// - `ExpectationFalse`: If Origin Register is not equal to the parameter. /// - `ExpectationFalse`: If Origin Register is not equal to the parameter.
@@ -797,7 +797,7 @@ pub enum Instruction<Call> {
/// Ensure that the Error Register equals some given value and throw an error if not. /// Ensure that the Error Register equals some given value and throw an error if not.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
/// - `ExpectationFalse`: If the value of the Error Register is not equal to the parameter. /// - `ExpectationFalse`: If the value of the Error Register is not equal to the parameter.
@@ -806,7 +806,7 @@ pub enum Instruction<Call> {
/// Ensure that the Transact Status Register equals some given value and throw an error if /// Ensure that the Transact Status Register equals some given value and throw an error if
/// not. /// not.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
/// - `ExpectationFalse`: If the value of the Transact Status Register is not equal to the /// - `ExpectationFalse`: If the value of the Transact Status Register is not equal to the
@@ -824,7 +824,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible*. /// Errors: *Fallible*.
QueryPallet { module_name: Vec<u8>, response_info: QueryResponseInfo }, QueryPallet { module_name: Vec<u8>, response_info: QueryResponseInfo },
@@ -843,7 +843,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
/// - `ExpectationFalse`: In case any of the expectations are broken. /// - `ExpectationFalse`: In case any of the expectations are broken.
@@ -866,7 +866,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible*. /// Errors: *Fallible*.
ReportTransactStatus(QueryResponseInfo), ReportTransactStatus(QueryResponseInfo),
@@ -875,7 +875,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Infallible*. /// Errors: *Infallible*.
ClearTransactStatus, ClearTransactStatus,
@@ -890,7 +890,7 @@ pub enum Instruction<Call> {
/// The `Junction` parameter should generally be a `GlobalConsensus` variant since it is only /// The `Junction` parameter should generally be a `GlobalConsensus` variant since it is only
/// these which are children of the Universal Ancestor. /// these which are children of the Universal Ancestor.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible*. /// Errors: *Fallible*.
UniversalOrigin(Junction), UniversalOrigin(Junction),
@@ -911,7 +911,7 @@ pub enum Instruction<Call> {
/// `destination: X1(Parachain(1000))`. Alternatively, to export a message for execution on /// `destination: X1(Parachain(1000))`. Alternatively, to export a message for execution on
/// Polkadot, you would call with `network: NetworkId:: Polkadot` and `destination: Here`. /// Polkadot, you would call with `network: NetworkId:: Polkadot` and `destination: Here`.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: *Fallible*. /// Errors: *Fallible*.
ExportMessage { network: NetworkId, destination: InteriorMultiLocation, xcm: Xcm<()> }, ExportMessage { network: NetworkId, destination: InteriorMultiLocation, xcm: Xcm<()> },
@@ -927,7 +927,7 @@ pub enum Instruction<Call> {
/// - `unlocker`: The value which the Origin must be for a corresponding `UnlockAsset` /// - `unlocker`: The value which the Origin must be for a corresponding `UnlockAsset`
/// instruction to work. /// instruction to work.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
LockAsset { asset: MultiAsset, unlocker: MultiLocation }, LockAsset { asset: MultiAsset, unlocker: MultiLocation },
@@ -940,7 +940,7 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
UnlockAsset { asset: MultiAsset, target: MultiLocation }, UnlockAsset { asset: MultiAsset, target: MultiLocation },
@@ -969,7 +969,7 @@ pub enum Instruction<Call> {
/// - `locker`: The location from which a previous `NoteUnlockable` was sent and to which an /// - `locker`: The location from which a previous `NoteUnlockable` was sent and to which an
/// `UnlockAsset` should be sent. /// `UnlockAsset` should be sent.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
RequestUnlock { asset: MultiAsset, locker: MultiLocation }, RequestUnlock { asset: MultiAsset, locker: MultiLocation },
@@ -979,7 +979,7 @@ pub enum Instruction<Call> {
/// - `jit_withdraw`: The fees mode item; if set to `true` then fees for any instructions are /// - `jit_withdraw`: The fees mode item; if set to `true` then fees for any instructions are
/// withdrawn as needed using the same mechanism as `WithdrawAssets`. /// withdrawn as needed using the same mechanism as `WithdrawAssets`.
/// ///
/// Kind: *Instruction*. /// Kind: *Command*.
/// ///
/// Errors: /// Errors:
SetFeesMode { jit_withdraw: bool }, SetFeesMode { jit_withdraw: bool },
@@ -992,21 +992,21 @@ pub enum Instruction<Call> {
/// ///
/// Safety: No concerns. /// Safety: No concerns.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: /// Errors:
SetTopic([u8; 32]), SetTopic([u8; 32]),
/// Clear the Topic Register. /// Clear the Topic Register.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: None. /// Errors: None.
ClearTopic, ClearTopic,
/// Alter the current Origin to another given origin. /// Alter the current Origin to another given origin.
/// ///
/// Kind: *Instruction* /// Kind: *Command*
/// ///
/// Errors: If the existing state would not allow such a change. /// Errors: If the existing state would not allow such a change.
AliasOrigin(MultiLocation), AliasOrigin(MultiLocation),