Skip to content

Commit 0c3c6a0

Browse files
committed
cargo fmt
1 parent 1c3f4c9 commit 0c3c6a0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

runtime/src/lib.rs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ use frame_support::{
1818
genesis_builder_helper::{build_state, get_preset},
1919
pallet_prelude::Get,
2020
traits::{
21+
Contains, LinearStoragePrice, OnUnbalanced,
2122
fungible::{
2223
DecreaseIssuance, HoldConsideration, Imbalance as FungibleImbalance, IncreaseIssuance,
2324
},
24-
Contains, LinearStoragePrice, OnUnbalanced,
2525
},
2626
};
2727
use frame_system::{EnsureNever, EnsureRoot, EnsureRootWithSuccess, RawOrigin};
2828
use pallet_commitments::CanCommit;
2929
use pallet_grandpa::{
30-
fg_primitives, AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList,
30+
AuthorityId as GrandpaId, AuthorityList as GrandpaAuthorityList, fg_primitives,
3131
};
3232
use pallet_registry::CanRegisterIdentity;
3333
use pallet_subtensor::rpc_info::{
@@ -43,18 +43,18 @@ use smallvec::smallvec;
4343
use sp_api::impl_runtime_apis;
4444
use sp_consensus_aura::sr25519::AuthorityId as AuraId;
4545
use sp_core::{
46+
H160, H256, OpaqueMetadata, U256,
4647
crypto::{ByteArray, KeyTypeId},
47-
OpaqueMetadata, H160, H256, U256,
4848
};
4949
use sp_runtime::generic::Era;
5050
use sp_runtime::{
51-
create_runtime_str, generic, impl_opaque_keys,
51+
AccountId32, ApplyExtrinsicResult, ConsensusEngineId, create_runtime_str, generic,
52+
impl_opaque_keys,
5253
traits::{
5354
AccountIdLookup, BlakeTwo256, Block as BlockT, DispatchInfoOf, Dispatchable, NumberFor,
5455
One, PostDispatchInfoOf, UniqueSaturatedInto, Verify,
5556
},
5657
transaction_validity::{TransactionSource, TransactionValidity, TransactionValidityError},
57-
AccountId32, ApplyExtrinsicResult, ConsensusEngineId,
5858
};
5959
use sp_std::cmp::Ordering;
6060
use sp_std::prelude::*;
@@ -66,19 +66,18 @@ use subtensor_runtime_common::{time::*, *};
6666

6767
// A few exports that help ease life for downstream crates.
6868
pub use frame_support::{
69-
construct_runtime, parameter_types,
69+
StorageValue, construct_runtime, parameter_types,
7070
traits::{
71-
ConstBool, ConstU128, ConstU32, ConstU64, ConstU8, FindAuthor, InstanceFilter,
71+
ConstBool, ConstU8, ConstU32, ConstU64, ConstU128, FindAuthor, InstanceFilter,
7272
KeyOwnerProofSystem, OnFinalize, OnTimestampSet, PrivilegeCmp, Randomness, StorageInfo,
7373
},
7474
weights::{
75+
IdentityFee, Weight, WeightToFeeCoefficient, WeightToFeeCoefficients,
76+
WeightToFeePolynomial,
7577
constants::{
7678
BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight, WEIGHT_REF_TIME_PER_SECOND,
7779
},
78-
IdentityFee, Weight, WeightToFeeCoefficient, WeightToFeeCoefficients,
79-
WeightToFeePolynomial,
8080
},
81-
StorageValue,
8281
};
8382
pub use frame_system::Call as SystemCall;
8483
pub use pallet_balances::Call as BalancesCall;

0 commit comments

Comments
 (0)