difftreelog
style fix formatting
in: master
4 files changed
runtime/common/config/substrate.rsdiffbeforeafterboth--- a/runtime/common/config/substrate.rs
+++ b/runtime/common/config/substrate.rs
@@ -17,7 +17,10 @@
use frame_support::{
dispatch::DispatchClass,
ord_parameter_types, parameter_types,
- traits::{ConstBool, ConstU32, ConstU64, Everything, NeverEnsureOrigin, tokens::{PayFromAccount, UnityAssetBalanceConversion}},
+ traits::{
+ tokens::{PayFromAccount, UnityAssetBalanceConversion},
+ ConstBool, ConstU32, ConstU64, Everything, NeverEnsureOrigin,
+ },
weights::{
constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight},
ConstantMultiplier,
@@ -39,7 +42,8 @@
use crate::{
runtime_common::DealWithFees, Balances, Block, OriginCaller, PalletInfo, Runtime, RuntimeCall,
- RuntimeEvent, RuntimeHoldReason, RuntimeFreezeReason, RuntimeOrigin, SS58Prefix, System, Version, Treasury,
+ RuntimeEvent, RuntimeFreezeReason, RuntimeHoldReason, RuntimeOrigin, SS58Prefix, System,
+ Treasury, Version,
};
parameter_types! {
@@ -139,7 +143,7 @@
type Moment = u64;
type OnTimestampSet = ();
#[cfg(not(feature = "lookahead"))]
- type MinimumPeriod = ConstU64<{SLOT_DURATION / 2}>;
+ type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>;
#[cfg(feature = "lookahead")]
type MinimumPeriod = ConstU64<0>;
type WeightInfo = ();
runtime/common/config/xcm/foreignassets.rsdiffbeforeafterbothno syntactic changes
runtime/common/config/xcm/mod.rsdiffbeforeafterboth--- a/runtime/common/config/xcm/mod.rs
+++ b/runtime/common/config/xcm/mod.rs
@@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
+use cumulus_primitives_core::ParaId;
use frame_support::{
parameter_types,
traits::{ConstU32, Contains, Everything, Get, Nothing, ProcessMessageError},
@@ -21,6 +22,7 @@
use frame_system::EnsureRoot;
use pallet_xcm::XcmPassthrough;
use polkadot_parachain_primitives::primitives::Sibling;
+use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery;
use sp_std::marker::PhantomData;
use staging_xcm::{
latest::{prelude::*, MultiLocation, Weight},
@@ -36,8 +38,6 @@
XcmExecutor,
};
use up_common::types::AccountId;
-use cumulus_primitives_core::ParaId;
-use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery;
use crate::{
xcm_barrier::Barrier, AllPalletsWithSystem, Balances, ParachainInfo, ParachainSystem,
runtime/common/mod.rsdiffbeforeafterboth--- a/runtime/common/mod.rs
+++ b/runtime/common/mod.rs
@@ -43,10 +43,7 @@
use sp_version::NativeVersion;
use up_common::types::{AccountId, BlockNumber};
-use crate::{
- AllPalletsWithSystem, Aura, Balances, Runtime, RuntimeCall, Signature,
- Treasury,
-};
+use crate::{AllPalletsWithSystem, Aura, Balances, Runtime, RuntimeCall, Signature, Treasury};
#[macro_export]
macro_rules! unsupported {