mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 20:17:57 +00:00
introduce trusted parachain Encointer for rococo and westend (#4213)
This commit is contained in:
@@ -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(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user