mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 16:07:57 +00:00
Rename Statemint where appropriate (#4087)
* Rename Statemint where appropriate * Rename to Rockmine Co-authored-by: Alexander Popiak <alexander.popiak@parity.io> Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
This commit is contained in:
@@ -1328,9 +1328,9 @@ pub type XcmRouter = (
|
||||
|
||||
parameter_types! {
|
||||
pub const Kusama: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(KsmLocation::get()) });
|
||||
pub const KusamaForStatemint: (MultiAssetFilter, MultiLocation) = (Kusama::get(), Parachain(1000).into());
|
||||
pub const KusamaForStatemine: (MultiAssetFilter, MultiLocation) = (Kusama::get(), Parachain(1000).into());
|
||||
}
|
||||
pub type TrustedTeleporters = (xcm_builder::Case<KusamaForStatemint>,);
|
||||
pub type TrustedTeleporters = (xcm_builder::Case<KusamaForStatemine>,);
|
||||
|
||||
/// The barriers one of which must be passed for an XCM message to be executed.
|
||||
pub type Barrier = (
|
||||
|
||||
@@ -644,7 +644,7 @@ parameter_types! {
|
||||
pub const RococoForTick: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(100).into());
|
||||
pub const RococoForTrick: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(110).into());
|
||||
pub const RococoForTrack: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(120).into());
|
||||
pub const RococoForStatemint: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(1001).into());
|
||||
pub const RococoForRockmine: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(1001).into());
|
||||
pub const RococoForCanvas: (MultiAssetFilter, MultiLocation) = (Rococo::get(), Parachain(1002).into());
|
||||
pub const MaxInstructions: u32 = 100;
|
||||
}
|
||||
@@ -652,7 +652,7 @@ pub type TrustedTeleporters = (
|
||||
xcm_builder::Case<RococoForTick>,
|
||||
xcm_builder::Case<RococoForTrick>,
|
||||
xcm_builder::Case<RococoForTrack>,
|
||||
xcm_builder::Case<RococoForStatemint>,
|
||||
xcm_builder::Case<RococoForRockmine>,
|
||||
xcm_builder::Case<RococoForCanvas>,
|
||||
);
|
||||
|
||||
|
||||
@@ -150,11 +150,11 @@ pub type Barrier = (
|
||||
);
|
||||
|
||||
parameter_types! {
|
||||
pub const KusamaForStatemint: (MultiAssetFilter, MultiLocation) =
|
||||
pub const KusamaForStatemine: (MultiAssetFilter, MultiLocation) =
|
||||
(MultiAssetFilter::Wild(WildMultiAsset::AllOf { id: Concrete(MultiLocation::here()), fun: WildFungible }), X1(Parachain(1000)).into());
|
||||
pub const MaxInstructions: u32 = 100;
|
||||
}
|
||||
pub type TrustedTeleporters = (xcm_builder::Case<KusamaForStatemint>,);
|
||||
pub type TrustedTeleporters = (xcm_builder::Case<KusamaForStatemine>,);
|
||||
|
||||
pub struct XcmConfig;
|
||||
impl xcm_executor::Config for XcmConfig {
|
||||
|
||||
Reference in New Issue
Block a user