@@ -19,15 +19,15 @@ extern crate alloc;
1919use codec:: { Compact , Decode , Encode } ;
2020use ethereum:: AuthorizationList ;
2121use frame_support:: {
22+ PalletId ,
2223 dispatch:: DispatchResult ,
2324 genesis_builder_helper:: { build_state, get_preset} ,
2425 pallet_prelude:: Get ,
25- traits:: { fungible:: HoldConsideration , Contains , InsideBoth , LinearStoragePrice } ,
26- PalletId ,
26+ traits:: { Contains , InsideBoth , LinearStoragePrice , fungible:: HoldConsideration } ,
2727} ;
2828use frame_system:: { EnsureRoot , EnsureRootWithSuccess , EnsureSigned } ;
2929use pallet_commitments:: { CanCommit , OnMetadataCommitment } ;
30- use pallet_grandpa:: { fg_primitives , AuthorityId as GrandpaId } ;
30+ use pallet_grandpa:: { AuthorityId as GrandpaId , fg_primitives } ;
3131use pallet_registry:: CanRegisterIdentity ;
3232pub use pallet_shield;
3333use pallet_subtensor:: rpc_info:: {
@@ -49,44 +49,42 @@ use sp_consensus_aura::sr25519::AuthorityId as AuraId;
4949use sp_consensus_babe:: BabeConfiguration ;
5050use sp_consensus_babe:: BabeEpochConfiguration ;
5151use sp_core:: {
52+ H160 , H256 , OpaqueMetadata , U256 ,
5253 crypto:: { ByteArray , KeyTypeId } ,
53- OpaqueMetadata , H160 , H256 , U256 ,
5454} ;
55- use sp_runtime:: generic:: Era ;
5655use sp_runtime:: Cow ;
56+ use sp_runtime:: generic:: Era ;
5757use sp_runtime:: {
58- generic, impl_opaque_keys,
58+ AccountId32 , ApplyExtrinsicResult , ConsensusEngineId , Percent , generic, impl_opaque_keys,
5959 traits:: {
6060 AccountIdLookup , BlakeTwo256 , Block as BlockT , DispatchInfoOf , Dispatchable , One ,
6161 PostDispatchInfoOf , UniqueSaturatedInto , Verify ,
6262 } ,
6363 transaction_validity:: { TransactionSource , TransactionValidity , TransactionValidityError } ,
64- AccountId32 , ApplyExtrinsicResult , ConsensusEngineId , Percent ,
6564} ;
6665use sp_std:: cmp:: Ordering ;
6766use sp_std:: prelude:: * ;
6867#[ cfg( feature = "std" ) ]
6968use sp_version:: NativeVersion ;
7069use sp_version:: RuntimeVersion ;
7170use subtensor_precompiles:: Precompiles ;
72- use subtensor_runtime_common:: { time :: * , AlphaCurrency , TaoCurrency , * } ;
71+ use subtensor_runtime_common:: { AlphaCurrency , TaoCurrency , time :: * , * } ;
7372use subtensor_swap_interface:: { Order , SwapHandler } ;
7473
7574// A few exports that help ease life for downstream crates.
7675pub use frame_support:: {
77- construct_runtime, parameter_types,
76+ StorageValue , construct_runtime, parameter_types,
7877 traits:: {
79- ConstBool , ConstU128 , ConstU32 , ConstU64 , ConstU8 , FindAuthor , InstanceFilter ,
78+ ConstBool , ConstU8 , ConstU32 , ConstU64 , ConstU128 , FindAuthor , InstanceFilter ,
8079 KeyOwnerProofSystem , OnFinalize , OnTimestampSet , PrivilegeCmp , Randomness , StorageInfo ,
8180 } ,
8281 weights:: {
82+ IdentityFee , Weight , WeightToFeeCoefficient , WeightToFeeCoefficients ,
83+ WeightToFeePolynomial ,
8384 constants:: {
8485 BlockExecutionWeight , ExtrinsicBaseWeight , RocksDbWeight , WEIGHT_REF_TIME_PER_SECOND ,
8586 } ,
86- IdentityFee , Weight , WeightToFeeCoefficient , WeightToFeeCoefficients ,
87- WeightToFeePolynomial ,
8887 } ,
89- StorageValue ,
9088} ;
9189pub use frame_system:: Call as SystemCall ;
9290pub use pallet_balances:: Call as BalancesCall ;
0 commit comments