Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatonik committed Nov 28, 2023
1 parent cb8881f commit 5375564
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions relay/kusama/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,11 @@ parameter_types! {
pub const KsmForBridgeHub: (MultiAssetFilter, MultiLocation) = (Ksm::get(), BridgeHubLocation::get());
pub const MaxAssetsIntoHolding: u32 = 64;
}
pub type TrustedTeleporters =
(xcm_builder::Case<KsmForAssetHub>, xcm_builder::Case<KsmForEncointer>, xcm_builder::Case<KsmForBridgeHub>);
pub type TrustedTeleporters = (
xcm_builder::Case<KsmForAssetHub>,
xcm_builder::Case<KsmForEncointer>,
xcm_builder::Case<KsmForBridgeHub>,
);

match_types! {
pub type OnlyParachains: impl Contains<MultiLocation> = {
Expand Down
7 changes: 5 additions & 2 deletions relay/polkadot/src/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,11 @@ parameter_types! {
}

/// Polkadot Relay recognizes/respects the asset hub chain as a teleporter.
pub type TrustedTeleporters =
(xcm_builder::Case<DotForAssetHub>, xcm_builder::Case<DotForCollectives>, xcm_builder::Case<DotForBridgeHub>);
pub type TrustedTeleporters = (
xcm_builder::Case<DotForAssetHub>,
xcm_builder::Case<DotForCollectives>,
xcm_builder::Case<DotForBridgeHub>,
);

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

0 comments on commit 5375564

Please sign in to comment.