Unverified Commit af5cbc3b authored by Keith Yeung's avatar Keith Yeung Committed by GitHub
Browse files

Rename Statemint where appropriate (#4087)



* Rename Statemint where appropriate

* Rename to Rockmine
Co-authored-by: default avatarAlexander Popiak <alexander.popiak@parity.io>
Co-authored-by: default avatarAlexander Popiak <alexander.popiak@parity.io>
parent 926ba0f3
Pipeline #162393 passed with stages
in 40 minutes and 45 seconds
......@@ -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 {
......
Supports Markdown
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