@@ -3,12 +3,6 @@ use crate::{
33 SessionConfig , Signature , SudoConfig , ValidatorSetConfig , BABE_GENESIS_EPOCH_CONFIG ,
44} ;
55
6- #[ cfg( feature = "polkadot" ) ]
7- use crate :: {
8- bridge_config:: XCM_LANE , BridgePolkadotGrandpaConfig , BridgePolkadotMessagesConfig ,
9- BridgePolkadotParachainsConfig ,
10- } ;
11- #[ cfg( feature = "rococo" ) ]
126use crate :: {
137 bridge_config:: XCM_LANE , BridgeRococoGrandpaConfig , BridgeRococoMessagesConfig ,
148 BridgeRococoParachainsConfig ,
@@ -85,38 +79,19 @@ fn testnet_genesis(
8579 // would want to use separate keys for the relayers.
8680 initial_relayers : initial_authorities. into_iter ( ) . map ( |x| x. 0 ) . collect :: < Vec < _ > > ( ) ,
8781 } ,
88- #[ cfg( feature = "rococo" ) ]
8982 bridge_rococo_grandpa : BridgeRococoGrandpaConfig {
9083 owner : bridges_pallet_owner. clone ( ) ,
9184 ..Default :: default ( )
9285 } ,
93- #[ cfg( feature = "rococo" ) ]
9486 bridge_rococo_parachains : BridgeRococoParachainsConfig {
9587 owner : bridges_pallet_owner. clone ( ) ,
9688 ..Default :: default ( )
9789 } ,
98- #[ cfg( feature = "rococo" ) ]
9990 bridge_rococo_messages : BridgeRococoMessagesConfig {
10091 owner : bridges_pallet_owner,
10192 opened_lanes : vec ! [ XCM_LANE ] ,
10293 ..Default :: default ( )
10394 } ,
104- #[ cfg( feature = "polkadot" ) ]
105- bridge_polkadot_grandpa : BridgePolkadotGrandpaConfig {
106- owner : bridges_pallet_owner. clone ( ) ,
107- ..Default :: default ( )
108- } ,
109- #[ cfg( feature = "polkadot" ) ]
110- bridge_polkadot_parachains : BridgePolkadotParachainsConfig {
111- owner : bridges_pallet_owner. clone ( ) ,
112- ..Default :: default ( )
113- } ,
114- #[ cfg( feature = "polkadot" ) ]
115- bridge_polkadot_messages : BridgePolkadotMessagesConfig {
116- owner : bridges_pallet_owner,
117- opened_lanes : vec ! [ XCM_LANE ] ,
118- ..Default :: default ( )
119- } ,
12095 ..Default :: default ( )
12196 } ;
12297
0 commit comments