git.delta.rocks / unique-network / refs/commits / 3b2d7676c481

difftreelog

cargo fmt

Daniel Shiposha2022-08-03parent: #b544464.patch.diff
in: master

5 files changed

modifiedruntime/common/src/lib.rsdiffbeforeafterboth
--- a/runtime/common/src/lib.rs
+++ b/runtime/common/src/lib.rs
@@ -17,10 +17,10 @@
 #![cfg_attr(not(feature = "std"), no_std)]
 
 pub mod constants;
+pub mod construct_runtime;
 pub mod dispatch;
 pub mod eth_sponsoring;
 pub mod runtime_apis;
 pub mod sponsoring;
 pub mod types;
 pub mod weights;
-pub mod construct_runtime;
modifiedruntime/common/src/weights.rsdiffbeforeafterboth
--- a/runtime/common/src/weights.rs
+++ b/runtime/common/src/weights.rs
@@ -51,7 +51,6 @@
 #[cfg(feature = "refungible")]
 impl<T: FungibleConfig + NonfungibleConfig + RefungibleConfig> CommonWeightConfigs for T {}
 
-
 pub struct CommonWeights<T>(PhantomData<T>);
 
 impl<T> CommonWeightInfo<T::CrossAccountId> for CommonWeights<T>
modifiedruntime/opal/src/lib.rsdiffbeforeafterboth
--- a/runtime/opal/src/lib.rs
+++ b/runtime/opal/src/lib.rs
@@ -33,9 +33,9 @@
 
 #[cfg(feature = "scheduler")]
 use sp_runtime::{
-       traits::{Applyable, Member},
-       generic::Era,
-       DispatchErrorWithPostInfo
+	traits::{Applyable, Member},
+	generic::Era,
+	DispatchErrorWithPostInfo,
 };
 // #[cfg(any(feature = "std", test))]
 // pub use sp_runtime::BuildStorage;
@@ -104,10 +104,11 @@
 use fp_rpc::TransactionStatus;
 use sp_runtime::{
 	traits::{
-		BlockNumberProvider, Dispatchable, PostDispatchInfoOf, DispatchInfoOf,
-		Saturating, CheckedConversion,
+		BlockNumberProvider, Dispatchable, PostDispatchInfoOf, DispatchInfoOf, Saturating,
+		CheckedConversion,
 	},
-	transaction_validity::TransactionValidityError, SaturatedConversion,
+	transaction_validity::TransactionValidityError,
+	SaturatedConversion,
 };
 
 // pub use pallet_timestamp::Call as TimestampCall;
@@ -118,11 +119,10 @@
 use polkadot_parachain::primitives::Sibling;
 use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};
 use xcm_builder::{
-	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, CurrencyAdapter,
-	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,
-	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
-	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
-	ParentIsPreset,
+	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, CurrencyAdapter, EnsureXcmOrigin,
+	FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser, RelayChainAsNative,
+	SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
+	SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, ParentIsPreset,
 };
 use xcm_executor::{Config, XcmExecutor, Assets};
 use sp_std::{cmp::Ordering, marker::PhantomData};
@@ -137,8 +137,7 @@
 use xcm_executor::traits::{MatchesFungible, WeightTrader};
 
 use unique_runtime_common::{
-	construct_runtime,
-	impl_common_runtime_apis,
+	construct_runtime, impl_common_runtime_apis,
 	types::*,
 	constants::*,
 	dispatch::{CollectionDispatchT, CollectionDispatch},
modifiedruntime/quartz/src/lib.rsdiffbeforeafterboth
--- a/runtime/quartz/src/lib.rs
+++ b/runtime/quartz/src/lib.rs
@@ -33,9 +33,9 @@
 
 #[cfg(feature = "scheduler")]
 use sp_runtime::{
-       traits::{Applyable, Member},
-       generic::Era,
-       DispatchErrorWithPostInfo
+	traits::{Applyable, Member},
+	generic::Era,
+	DispatchErrorWithPostInfo,
 };
 // #[cfg(any(feature = "std", test))]
 // pub use sp_runtime::BuildStorage;
@@ -104,10 +104,11 @@
 use fp_rpc::TransactionStatus;
 use sp_runtime::{
 	traits::{
-		BlockNumberProvider, Dispatchable, PostDispatchInfoOf, DispatchInfoOf,
-		Saturating, CheckedConversion,
+		BlockNumberProvider, Dispatchable, PostDispatchInfoOf, DispatchInfoOf, Saturating,
+		CheckedConversion,
 	},
-	transaction_validity::TransactionValidityError, SaturatedConversion,
+	transaction_validity::TransactionValidityError,
+	SaturatedConversion,
 };
 
 // pub use pallet_timestamp::Call as TimestampCall;
@@ -118,11 +119,10 @@
 use polkadot_parachain::primitives::Sibling;
 use xcm::v1::{BodyId, Junction::*, MultiLocation, NetworkId, Junctions::*};
 use xcm_builder::{
-	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, CurrencyAdapter,
-	EnsureXcmOrigin, FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser,
-	RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia,
-	SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit,
-	ParentIsPreset,
+	AccountId32Aliases, AllowTopLevelPaidExecutionFrom, CurrencyAdapter, EnsureXcmOrigin,
+	FixedWeightBounds, LocationInverter, NativeAsset, ParentAsSuperuser, RelayChainAsNative,
+	SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative,
+	SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, ParentIsPreset,
 };
 use xcm_executor::{Config, XcmExecutor, Assets};
 use sp_std::{cmp::Ordering, marker::PhantomData};
@@ -137,8 +137,7 @@
 use xcm_executor::traits::{MatchesFungible, WeightTrader};
 
 use unique_runtime_common::{
-	construct_runtime,
-	impl_common_runtime_apis,
+	construct_runtime, impl_common_runtime_apis,
 	types::*,
 	constants::*,
 	dispatch::{CollectionDispatchT, CollectionDispatch},
modifiedruntime/unique/src/lib.rsdiffbeforeafterboth
36use sp_runtime::{36use sp_runtime::{
37 traits::{Applyable, Member},37 traits::{Applyable, Member},
38 generic::Era,38 generic::Era,
39 DispatchErrorWithPostInfo39 DispatchErrorWithPostInfo,
40};40};
41// #[cfg(any(feature = "std", test))]41// #[cfg(any(feature = "std", test))]
42// pub use sp_runtime::BuildStorage;42// pub use sp_runtime::BuildStorage;