Skip to content

Commit

Permalink
Update Westend Trusted Teleporters (#5985)
Browse files Browse the repository at this point in the history
* change para ID of collectives and remove encointer

* fmt
  • Loading branch information
joepetrowski authored Sep 13, 2022
1 parent 7b73b43 commit c9e2196
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions polkadot/runtime/westend/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +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<WestendForWestmint>,
xcm_builder::Case<WestendForEncointer>,
xcm_builder::Case<WestendForCollectives>,
);
pub type TrustedTeleporters =
(xcm_builder::Case<WestendForWestmint>, xcm_builder::Case<WestendForCollectives>);

/// The barriers one of which must be passed for an XCM message to be executed.
pub type Barrier = (
Expand Down

0 comments on commit c9e2196

Please sign in to comment.