This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ use frame_support::{
3333 ord_parameter_types,
3434 pallet_prelude:: Get ,
3535 parameter_types,
36- tests:: RuntimeGenesisConfig ,
3736 traits:: {
3837 fungible:: ItemOf ,
3938 tokens:: { nonfungibles_v2:: Inspect , GetSalary , PayFromAccount } ,
@@ -70,7 +69,7 @@ use sp_authority_discovery::AuthorityId as AuthorityDiscoveryId;
7069use sp_consensus_grandpa:: AuthorityId as GrandpaId ;
7170use sp_core:: { crypto:: KeyTypeId , OpaqueMetadata } ;
7271// #[cfg(feature = "genesis-builder")]
73- use frame_support:: genesis_builder_helper:: GenesisBuilderHelper ;
72+ use frame_support:: genesis_builder_helper:: { build_config , create_default_config } ;
7473use sp_inherents:: { CheckInherentsResult , InherentData } ;
7574use sp_runtime:: {
7675 create_runtime_str,
@@ -2603,11 +2602,11 @@ impl_runtime_apis! {
26032602
26042603 impl sp_genesis_builder:: GenesisBuilder <Block > for Runtime {
26052604 fn create_default_config( ) -> Vec <u8 > {
2606- GenesisBuilderHelper :: <RuntimeGenesisConfig >:: create_default_config ( )
2605+ create_default_config :: <RuntimeGenesisConfig >( )
26072606 }
26082607
26092608 fn build_config( config: Vec <u8 >) -> sp_genesis_builder:: Result {
2610- GenesisBuilderHelper :: <RuntimeGenesisConfig >:: build_config ( config)
2609+ build_config :: <RuntimeGenesisConfig >( config)
26112610 }
26122611 }
26132612}
You can’t perform that action at this time.
0 commit comments