From 136f7a4da0a75ed63bd03eef23cc23273da82cc7 Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Fri, 9 Sep 2022 08:51:31 +0200 Subject: [PATCH 1/2] change para ID of collectives and remove encointer --- runtime/westend/src/xcm_config.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/runtime/westend/src/xcm_config.rs b/runtime/westend/src/xcm_config.rs index 867bdb2cacf3..39b79918737d 100644 --- a/runtime/westend/src/xcm_config.rs +++ b/runtime/westend/src/xcm_config.rs @@ -75,19 +75,15 @@ pub type XcmRouter = ( parameter_types! { pub const Westmint: MultiLocation = Parachain(1000).into(); - pub const Encointer: MultiLocation = Parachain(1001).into(); - pub const Collectives: MultiLocation = Parachain(1002).into(); + pub const Collectives: MultiLocation = Parachain(1001).into(); pub const WestendForWestmint: (MultiAssetFilter, MultiLocation) = (Wild(AllOf { fun: WildFungible, id: Concrete(WndLocation::get()) }), Westmint::get()); - pub const WestendForEncointer: (MultiAssetFilter, MultiLocation) = - (Wild(AllOf { fun: WildFungible, id: Concrete(WndLocation::get()) }), Encointer::get()); pub const WestendForCollectives: (MultiAssetFilter, MultiLocation) = (Wild(AllOf { fun: WildFungible, id: Concrete(WndLocation::get()) }), Collectives::get()); pub const MaxInstructions: u32 = 100; } pub type TrustedTeleporters = ( xcm_builder::Case, - xcm_builder::Case, xcm_builder::Case, ); From 0f2d510b6eafe70a88553825aa4808a819a241c2 Mon Sep 17 00:00:00 2001 From: joepetrowski Date: Fri, 9 Sep 2022 08:56:06 +0200 Subject: [PATCH 2/2] fmt --- runtime/westend/src/xcm_config.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/runtime/westend/src/xcm_config.rs b/runtime/westend/src/xcm_config.rs index 39b79918737d..ee7158373394 100644 --- a/runtime/westend/src/xcm_config.rs +++ b/runtime/westend/src/xcm_config.rs @@ -82,10 +82,8 @@ parameter_types! { (Wild(AllOf { fun: WildFungible, id: Concrete(WndLocation::get()) }), Collectives::get()); pub const MaxInstructions: u32 = 100; } -pub type TrustedTeleporters = ( - xcm_builder::Case, - xcm_builder::Case, -); +pub type TrustedTeleporters = + (xcm_builder::Case, xcm_builder::Case); /// The barriers one of which must be passed for an XCM message to be executed. pub type Barrier = (