From 03fd2c4f42a7435b3a5dd262e69eff9cd2babb05 Mon Sep 17 00:00:00 2001 From: Guantong <04637@163.com> Date: Mon, 20 Jun 2022 21:35:26 +0800 Subject: [PATCH] Correct AssetId for XCM trader --- runtime/crab-parachain/src/pallets/polkadot_xcm.rs | 2 +- runtime/darwinia-parachain/src/pallets/polkadot_xcm.rs | 2 +- runtime/pangolin-parachain/src/pallets/polkadot_xcm.rs | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/runtime/crab-parachain/src/pallets/polkadot_xcm.rs b/runtime/crab-parachain/src/pallets/polkadot_xcm.rs index 261de94e..94462888 100644 --- a/runtime/crab-parachain/src/pallets/polkadot_xcm.rs +++ b/runtime/crab-parachain/src/pallets/polkadot_xcm.rs @@ -129,7 +129,7 @@ impl XcmCExecutorConfig for XcmConfig { type OriginConverter = XcmOriginToTransactDispatchOrigin; type ResponseHandler = PolkadotXcm; type SubscriptionService = PolkadotXcm; - type Trader = UsingComponents>; + type Trader = UsingComponents>; type Weigher = FixedWeightBounds; type XcmSender = XcmRouter; } diff --git a/runtime/darwinia-parachain/src/pallets/polkadot_xcm.rs b/runtime/darwinia-parachain/src/pallets/polkadot_xcm.rs index eeb30dd0..144b31dc 100644 --- a/runtime/darwinia-parachain/src/pallets/polkadot_xcm.rs +++ b/runtime/darwinia-parachain/src/pallets/polkadot_xcm.rs @@ -129,7 +129,7 @@ impl XcmCExecutorConfig for XcmConfig { type OriginConverter = XcmOriginToTransactDispatchOrigin; type ResponseHandler = PolkadotXcm; type SubscriptionService = PolkadotXcm; - type Trader = UsingComponents>; + type Trader = UsingComponents>; type Weigher = FixedWeightBounds; type XcmSender = XcmRouter; } diff --git a/runtime/pangolin-parachain/src/pallets/polkadot_xcm.rs b/runtime/pangolin-parachain/src/pallets/polkadot_xcm.rs index 1dcb5146..df5fe7e9 100644 --- a/runtime/pangolin-parachain/src/pallets/polkadot_xcm.rs +++ b/runtime/pangolin-parachain/src/pallets/polkadot_xcm.rs @@ -89,7 +89,6 @@ pub type XcmOriginToTransactDispatchOrigin = ( ); frame_support::parameter_types! { - pub const RococoLocation: MultiLocation = MultiLocation::parent(); pub const RelayNetwork: NetworkId = NetworkId::Kusama; pub const MaxInstructions: u32 = 100; pub AnchoringSelfReserve: MultiLocation = MultiLocation::new( @@ -131,7 +130,7 @@ impl XcmCExecutorConfig for XcmConfig { type ResponseHandler = PolkadotXcm; type SubscriptionService = PolkadotXcm; type Trader = - UsingComponents>; + UsingComponents>; type Weigher = FixedWeightBounds; type XcmSender = XcmRouter; }