Skip to content
Snippets Groups Projects
Commit 7ad9cb90 authored by Muharem Ismailov's avatar Muharem Ismailov Committed by GitHub
Browse files

westend xcm: collectives parachain is trusted teleporter (#5798)

parent b30b7c60
No related merge requests found
......@@ -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<WestendForWestmint>, xcm_builder::Case<WestendForEncointer>);
pub type TrustedTeleporters = (
xcm_builder::Case<WestendForWestmint>,
xcm_builder::Case<WestendForEncointer>,
xcm_builder::Case<WestendForCollectives>,
);
/// The barriers one of which must be passed for an XCM message to be executed.
pub type Barrier = (
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment