From 7ad9cb90aa2a1694b388a28c84e1c25777dfaac4 Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Thu, 21 Jul 2022 13:50:00 +0200 Subject: [PATCH] westend xcm: collectives parachain is trusted teleporter (#5798) --- polkadot/runtime/westend/src/xcm_config.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/polkadot/runtime/westend/src/xcm_config.rs b/polkadot/runtime/westend/src/xcm_config.rs index cb1d382980..867bdb2cac 100644 --- a/polkadot/runtime/westend/src/xcm_config.rs +++ b/polkadot/runtime/westend/src/xcm_config.rs @@ -76,14 +76,20 @@ 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 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); +pub type TrustedTeleporters = ( + xcm_builder::Case, + xcm_builder::Case, + xcm_builder::Case, +); /// The barriers one of which must be passed for an XCM message to be executed. pub type Barrier = (