git.delta.rocks / unique-network / refs/commits / d3cffa16c095

difftreelog

fix cargo fmt

Daniel Shiposha2022-12-12parent: #44d0263.patch.diff
in: master

4 files changed

modifiedpallets/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;
modifiedruntime/common/xcm.rsdiffbeforeafterboth
26impl<T, L> Get<Vec<MultiLocation>> for OverridableAllowedLocations<T, L>26impl<T, L> Get<Vec<MultiLocation>> for OverridableAllowedLocations<T, L>
27where27where
28 T: pallet_configuration::Config,28 T: pallet_configuration::Config,
29 L: Get<Vec<MultiLocation>>29 L: Get<Vec<MultiLocation>>,
30{30{
31 fn get() -> Vec<MultiLocation> {31 fn get() -> Vec<MultiLocation> {
32 <pallet_configuration::XcmAllowedLocationsOverride<T>>::get()32 <pallet_configuration::XcmAllowedLocationsOverride<T>>::get()
modifiedruntime/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>,
 		>,
 	),
 	(
modifiedruntime/unique/src/xcm_barrier.rsdiffbeforeafterboth
--- a/runtime/unique/src/xcm_barrier.rs
+++ b/runtime/unique/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, UniqueDefaultAllowedLocations>
+			OverridableAllowedLocations<Runtime, UniqueDefaultAllowedLocations>,
 		>,
 	),
 	(