diff --git a/polkadot/runtime/rococo/src/lib.rs b/polkadot/runtime/rococo/src/lib.rs index beb7da8c318f4dd9c845db8074b6702a5db826d9..3644b7cdcf9e70f7184ba80529a11b9875081b5c 100644 --- a/polkadot/runtime/rococo/src/lib.rs +++ b/polkadot/runtime/rococo/src/lib.rs @@ -673,6 +673,7 @@ parameter_types! { pub const RococoForTrack: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(120).into()); pub const RococoForStatemine: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(1000).into()); pub const RococoForCanvas: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(1002).into()); + pub const RococoForEncointer: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(1003).into()); pub const MaxInstructions: u32 = 100; } pub type TrustedTeleporters = ( @@ -681,6 +682,7 @@ pub type TrustedTeleporters = ( xcm_builder::Case<RococoForTrack>, xcm_builder::Case<RococoForStatemine>, xcm_builder::Case<RococoForCanvas>, + xcm_builder::Case<RococoForEncointer>, ); parameter_types! { @@ -691,6 +693,7 @@ parameter_types! { Parachain(120).into(), Parachain(1000).into(), Parachain(1002).into(), + Parachain(1003).into(), ]; } diff --git a/polkadot/runtime/westend/src/lib.rs b/polkadot/runtime/westend/src/lib.rs index 4b054e0c74d2b8d7ac5f544b1fd0eb93ee229b3f..a3e19058065359778191700b1f26376d6b534632 100644 --- a/polkadot/runtime/westend/src/lib.rs +++ b/polkadot/runtime/westend/src/lib.rs @@ -1008,11 +1008,15 @@ pub type XcmRouter = ( parameter_types! { pub const Westmint: MultiLocation = Parachain(1000).into(); + pub const Encointer: 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 MaxInstructions: u32 = 100; } -pub type TrustedTeleporters = (xcm_builder::Case<WestendForWestmint>,); +pub type TrustedTeleporters = + (xcm_builder::Case<WestendForWestmint>, xcm_builder::Case<WestendForEncointer>); /// The barriers one of which must be passed for an XCM message to be executed. pub type Barrier = (