@@ -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} ;
2727use frame_system:: { EnsureNever , EnsureRoot , EnsureRootWithSuccess , RawOrigin } ;
2828use pallet_commitments:: CanCommit ;
2929use pallet_grandpa:: {
30- fg_primitives , AuthorityId as GrandpaId , AuthorityList as GrandpaAuthorityList ,
30+ AuthorityId as GrandpaId , AuthorityList as GrandpaAuthorityList , fg_primitives ,
3131} ;
3232use pallet_registry:: CanRegisterIdentity ;
3333use pallet_subtensor:: rpc_info:: {
@@ -43,18 +43,18 @@ use smallvec::smallvec;
4343use sp_api:: impl_runtime_apis;
4444use sp_consensus_aura:: sr25519:: AuthorityId as AuraId ;
4545use sp_core:: {
46+ H160 , H256 , OpaqueMetadata , U256 ,
4647 crypto:: { ByteArray , KeyTypeId } ,
47- OpaqueMetadata , H160 , H256 , U256 ,
4848} ;
4949use sp_runtime:: generic:: Era ;
5050use 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} ;
5959use sp_std:: cmp:: Ordering ;
6060use sp_std:: prelude:: * ;
@@ -66,19 +66,18 @@ use subtensor_runtime_common::{time::*, *};
6666
6767// A few exports that help ease life for downstream crates.
6868pub 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} ;
8382pub use frame_system:: Call as SystemCall ;
8483pub use pallet_balances:: Call as BalancesCall ;
0 commit comments