difftreelog
fix cargo fmt
in: master
4 files changed
pallets/configuration/src/lib.rsdiffbeforeafterboth--- a/pallets/configuration/src/lib.rs
+++ b/pallets/configuration/src/lib.rs
@@ -35,7 +35,8 @@
use super::*;
use frame_support::{
traits::Get,
- pallet_prelude::{StorageValue, ValueQuery, DispatchResult, OptionQuery}, BoundedVec,
+ pallet_prelude::{StorageValue, ValueQuery, DispatchResult, OptionQuery},
+ BoundedVec,
};
use frame_system::{pallet_prelude::OriginFor, ensure_root};
use xcm::v1::MultiLocation;
runtime/common/xcm.rsdiffbeforeafterboth--- a/runtime/common/xcm.rs
+++ b/runtime/common/xcm.rs
@@ -20,17 +20,17 @@
pub struct OverridableAllowedLocations<T, L>(PhantomData<(T, L)>)
where
- T: pallet_configuration::Config,
- L: Get<Vec<MultiLocation>>;
+ T: pallet_configuration::Config,
+ L: Get<Vec<MultiLocation>>;
impl<T, L> Get<Vec<MultiLocation>> for OverridableAllowedLocations<T, L>
where
- T: pallet_configuration::Config,
- L: Get<Vec<MultiLocation>>
+ T: pallet_configuration::Config,
+ L: Get<Vec<MultiLocation>>,
{
- fn get() -> Vec<MultiLocation> {
- <pallet_configuration::XcmAllowedLocationsOverride<T>>::get()
- .map(|bounded| bounded.into_inner())
- .unwrap_or_else(|| L::get())
- }
+ fn get() -> Vec<MultiLocation> {
+ <pallet_configuration::XcmAllowedLocationsOverride<T>>::get()
+ .map(|bounded| bounded.into_inner())
+ .unwrap_or_else(|| L::get())
+ }
}
runtime/quartz/src/xcm_barrier.rsdiffbeforeafterboth--- a/runtime/quartz/src/xcm_barrier.rs
+++ b/runtime/quartz/src/xcm_barrier.rs
@@ -30,7 +30,7 @@
runtime_common::{
config::xcm::{DenyThenTry, DenyTransact, DenyExchangeWithUnknownLocation},
xcm::OverridableAllowedLocations,
- }
+ },
};
match_types! {
@@ -74,7 +74,7 @@
(
DenyTransact,
DenyExchangeWithUnknownLocation<
- OverridableAllowedLocations<Runtime, QuartzDefaultAllowedLocations>
+ OverridableAllowedLocations<Runtime, QuartzDefaultAllowedLocations>,
>,
),
(
runtime/unique/src/xcm_barrier.rsdiffbeforeafterboth30 runtime_common::{30 runtime_common::{31 config::xcm::{DenyThenTry, DenyTransact, DenyExchangeWithUnknownLocation},31 config::xcm::{DenyThenTry, DenyTransact, DenyExchangeWithUnknownLocation},32 xcm::OverridableAllowedLocations,32 xcm::OverridableAllowedLocations,33 }33 },34};34};353536match_types! {36match_types! {74 (74 (75 DenyTransact,75 DenyTransact,76 DenyExchangeWithUnknownLocation<76 DenyExchangeWithUnknownLocation<77 OverridableAllowedLocations<Runtime, UniqueDefaultAllowedLocations>77 OverridableAllowedLocations<Runtime, UniqueDefaultAllowedLocations>,78 >,78 >,79 ),79 ),80 (80 (