Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
add Encointer TrustedTeleporter (#4401)
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Dec 15, 2021
1 parent 3d78fc2 commit 4bb5581
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/kusama/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1376,8 +1376,10 @@ pub type XcmRouter = (
parameter_types! {
pub const Kusama: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(KsmLocation::get()) });
pub const KusamaForStatemine: (MultiAssetFilter, MultiLocation) = (Kusama::get(), Parachain(1000).into());
pub const KusamaForEncointer: (MultiAssetFilter, MultiLocation) = (Kusama::get(), Parachain(1001).into());
}
pub type TrustedTeleporters = (xcm_builder::Case<KusamaForStatemine>,);
pub type TrustedTeleporters =
(xcm_builder::Case<KusamaForStatemine>, xcm_builder::Case<KusamaForEncointer>);

match_type! {
pub type OnlyParachains: impl Contains<MultiLocation> = {
Expand Down

0 comments on commit 4bb5581

Please sign in to comment.