From 78343cc652076c11dc86d6e94005710d9662555a Mon Sep 17 00:00:00 2001 From: Nikita Khateev Date: Tue, 21 Nov 2023 13:22:06 +0400 Subject: [PATCH] [10] fix comments --- runtime/src/lib.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9d95b86..37611d9 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -11,7 +11,6 @@ mod weights; pub mod xcm_config; use codec::{Decode, Encode, MaxEncodedLen}; -use constants::currency::{deposit, EXISTENTIAL_DEPOSIT, MICROCENTS, MILLICENTS}; use cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases; use cumulus_primitives_core::ParaId; use frame_support::{ @@ -55,12 +54,16 @@ use sp_std::prelude::*; #[cfg(feature = "std")] use sp_version::NativeVersion; use sp_version::RuntimeVersion; -use weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}; // XCM Imports use xcm::latest::prelude::BodyId; -use xcm_config::{RelayLocation, XcmConfig, XcmOriginToTransactDispatchOrigin}; use xcm_executor::XcmExecutor; +use crate::{ + constants::currency::{deposit, EXISTENTIAL_DEPOSIT, MICROCENTS, MILLICENTS}, + weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}, + xcm_config::{RelayLocation, XcmConfig, XcmOriginToTransactDispatchOrigin}, +}; + /// Alias to 512-bit hash when used in the context of a transaction signature on /// the chain. pub type Signature = MultiSignature; @@ -345,7 +348,7 @@ parameter_types! { } /// The type used to represent the kinds of proxying allowed. -/// If you are adding new pallets, consider adding new proxy type +/// If you are adding new pallets, consider adding new ProxyType variant #[derive( Copy, Clone,