@@ -17,16 +17,16 @@ extern crate alloc;
1717
1818use codec:: { Compact , Decode , Encode } ;
1919use frame_support:: {
20+ PalletId ,
2021 dispatch:: { DispatchResult , DispatchResultWithPostInfo } ,
2122 genesis_builder_helper:: { build_state, get_preset} ,
2223 pallet_prelude:: Get ,
23- traits:: { fungible:: HoldConsideration , Contains , InsideBoth , LinearStoragePrice } ,
24- PalletId ,
24+ traits:: { Contains , InsideBoth , LinearStoragePrice , fungible:: HoldConsideration } ,
2525} ;
2626use frame_system:: { EnsureNever , EnsureRoot , EnsureRootWithSuccess , RawOrigin } ;
2727use pallet_collective_otf as pallet_collective;
2828use pallet_commitments:: { CanCommit , OnMetadataCommitment } ;
29- use pallet_grandpa:: { fg_primitives , AuthorityId as GrandpaId } ;
29+ use pallet_grandpa:: { AuthorityId as GrandpaId , fg_primitives } ;
3030use pallet_proxy_otf as pallet_proxy;
3131use pallet_registry:: CanRegisterIdentity ;
3232use pallet_subtensor:: rpc_info:: {
@@ -44,44 +44,42 @@ use sp_consensus_aura::sr25519::AuthorityId as AuraId;
4444use sp_consensus_babe:: BabeConfiguration ;
4545use sp_consensus_babe:: BabeEpochConfiguration ;
4646use sp_core:: {
47+ H160 , H256 , OpaqueMetadata , U256 ,
4748 crypto:: { ByteArray , KeyTypeId } ,
48- OpaqueMetadata , H160 , H256 , U256 ,
4949} ;
50+ use sp_runtime:: Cow ;
5051use sp_runtime:: generic:: Era ;
5152use sp_runtime:: traits:: NumberFor ;
52- use sp_runtime:: Cow ;
5353use sp_runtime:: {
54- generic, impl_opaque_keys,
54+ AccountId32 , ApplyExtrinsicResult , ConsensusEngineId , generic, impl_opaque_keys,
5555 traits:: {
5656 AccountIdLookup , BlakeTwo256 , Block as BlockT , DispatchInfoOf , Dispatchable , One ,
5757 PostDispatchInfoOf , UniqueSaturatedInto , Verify ,
5858 } ,
5959 transaction_validity:: { TransactionSource , TransactionValidity , TransactionValidityError } ,
60- AccountId32 , ApplyExtrinsicResult , ConsensusEngineId ,
6160} ;
6261use sp_std:: cmp:: Ordering ;
6362use sp_std:: prelude:: * ;
6463#[ cfg( feature = "std" ) ]
6564use sp_version:: NativeVersion ;
6665use sp_version:: RuntimeVersion ;
6766use subtensor_precompiles:: Precompiles ;
68- use subtensor_runtime_common:: { time :: * , AlphaCurrency , TaoCurrency , * } ;
67+ use subtensor_runtime_common:: { AlphaCurrency , TaoCurrency , time :: * , * } ;
6968
7069// A few exports that help ease life for downstream crates.
7170pub use frame_support:: {
72- construct_runtime, parameter_types,
71+ StorageValue , construct_runtime, parameter_types,
7372 traits:: {
74- ConstBool , ConstU128 , ConstU32 , ConstU64 , ConstU8 , FindAuthor , InstanceFilter ,
73+ ConstBool , ConstU8 , ConstU32 , ConstU64 , ConstU128 , FindAuthor , InstanceFilter ,
7574 KeyOwnerProofSystem , OnFinalize , OnTimestampSet , PrivilegeCmp , Randomness , StorageInfo ,
7675 } ,
7776 weights:: {
77+ IdentityFee , Weight , WeightToFeeCoefficient , WeightToFeeCoefficients ,
78+ WeightToFeePolynomial ,
7879 constants:: {
7980 BlockExecutionWeight , ExtrinsicBaseWeight , RocksDbWeight , WEIGHT_REF_TIME_PER_SECOND ,
8081 } ,
81- IdentityFee , Weight , WeightToFeeCoefficient , WeightToFeeCoefficients ,
82- WeightToFeePolynomial ,
8382 } ,
84- StorageValue ,
8583} ;
8684pub use frame_system:: Call as SystemCall ;
8785pub use pallet_balances:: Call as BalancesCall ;
0 commit comments