@@ -6,17 +6,12 @@ use datahighway_parachain_runtime::{
66 AuraConfig ,
77 BalancesConfig ,
88 CollatorSelectionConfig ,
9- CouncilConfig ,
10- DemocracyConfig ,
11- ElectionsConfig ,
129 GenesisConfig ,
1310 IndicesConfig ,
1411 SessionConfig ,
1512 // SessionKeys,
1613 SudoConfig ,
1714 // SystemConfig,
18- TechnicalCommitteeConfig ,
19- TechnicalMembershipConfig ,
2015 TransactionPaymentConfig ,
2116 TreasuryConfig ,
2217} ;
@@ -1224,29 +1219,9 @@ fn spreehafen_testnet_genesis(
12241219 } )
12251220 . collect ( ) ,
12261221 } ,
1227- democracy : DemocracyConfig :: default ( ) ,
1228- elections : ElectionsConfig {
1229- members : endowed_accounts
1230- . iter ( )
1231- . take ( ( num_endowed_accounts + 1 ) / 2 )
1232- . cloned ( )
1233- . map ( |member| ( member, INITIAL_ENDOWMENT ) )
1234- . collect ( ) ,
1235- } ,
1236- // https://github.com/paritytech/substrate/commit/d6ac9f551b71d9c7b69afcebfc68ace310ef74ee
1237- // collective_Instance1
1238- council : CouncilConfig :: default ( ) ,
1239- // collective_Instance2
1240- technical_committee : TechnicalCommitteeConfig :: default ( ) ,
12411222 // no need to pass anything to aura, in fact it will panic if we do. Session will take care
12421223 // of this.
12431224 aura : Default :: default ( ) ,
1244- // pallet_membership_Instance1
1245- technical_membership : TechnicalMembershipConfig {
1246- members : vec ! [ root_key. clone( ) ] ,
1247- phantom : Default :: default ( ) ,
1248- } ,
1249- assets : Default :: default ( ) ,
12501225 transaction_payment : TransactionPaymentConfig :: default ( ) ,
12511226 aura_ext : Default :: default ( ) ,
12521227 parachain_system : Default :: default ( ) ,
@@ -1304,29 +1279,9 @@ fn testnet_genesis(
13041279 } )
13051280 . collect ( ) ,
13061281 } ,
1307- democracy : DemocracyConfig :: default ( ) ,
1308- elections : ElectionsConfig {
1309- members : endowed_accounts
1310- . iter ( )
1311- . take ( ( num_endowed_accounts + 1 ) / 2 )
1312- . cloned ( )
1313- . map ( |member| ( member, INITIAL_ENDOWMENT ) )
1314- . collect ( ) ,
1315- } ,
1316- // https://github.com/paritytech/substrate/commit/d6ac9f551b71d9c7b69afcebfc68ace310ef74ee
1317- // collective_Instance1
1318- council : CouncilConfig :: default ( ) ,
1319- // collective_Instance2
1320- technical_committee : TechnicalCommitteeConfig :: default ( ) ,
13211282 // no need to pass anything to aura, in fact it will panic if we do. Session will take care
13221283 // of this.
13231284 aura : Default :: default ( ) ,
1324- // pallet_membership_Instance1
1325- technical_membership : TechnicalMembershipConfig {
1326- members : vec ! [ root_key. clone( ) ] ,
1327- phantom : Default :: default ( ) ,
1328- } ,
1329- assets : Default :: default ( ) ,
13301285 transaction_payment : TransactionPaymentConfig :: default ( ) ,
13311286 aura_ext : Default :: default ( ) ,
13321287 parachain_system : Default :: default ( ) ,
@@ -1384,29 +1339,9 @@ fn dev_genesis(
13841339 } )
13851340 . collect ( ) ,
13861341 } ,
1387- democracy : DemocracyConfig :: default ( ) ,
1388- elections : ElectionsConfig {
1389- members : endowed_accounts
1390- . iter ( )
1391- . take ( ( num_endowed_accounts + 1 ) / 2 )
1392- . cloned ( )
1393- . map ( |member| ( member, INITIAL_ENDOWMENT ) )
1394- . collect ( ) ,
1395- } ,
1396- // https://github.com/paritytech/substrate/commit/d6ac9f551b71d9c7b69afcebfc68ace310ef74ee
1397- // collective_Instance1
1398- council : CouncilConfig :: default ( ) ,
1399- // collective_Instance2
1400- technical_committee : TechnicalCommitteeConfig :: default ( ) ,
14011342 // no need to pass anything to aura, in fact it will panic if we do. Session will take care
14021343 // of this.
14031344 aura : Default :: default ( ) ,
1404- // pallet_membership_Instance1
1405- technical_membership : TechnicalMembershipConfig {
1406- members : vec ! [ root_key. clone( ) ] ,
1407- phantom : Default :: default ( ) ,
1408- } ,
1409- assets : Default :: default ( ) ,
14101345 transaction_payment : TransactionPaymentConfig :: default ( ) ,
14111346 aura_ext : Default :: default ( ) ,
14121347 parachain_system : Default :: default ( ) ,
@@ -1475,29 +1410,9 @@ fn baikal_testnet_genesis(
14751410 } )
14761411 . collect ( ) ,
14771412 } ,
1478- democracy : DemocracyConfig :: default ( ) ,
1479- elections : ElectionsConfig {
1480- members : endowed_accounts
1481- . iter ( )
1482- . take ( ( num_endowed_accounts + 1 ) / 2 )
1483- . cloned ( )
1484- . map ( |member| ( member, INITIAL_ENDOWMENT ) )
1485- . collect ( ) ,
1486- } ,
1487- // https://github.com/paritytech/substrate/commit/d6ac9f551b71d9c7b69afcebfc68ace310ef74ee
1488- // collective_Instance1
1489- council : CouncilConfig :: default ( ) ,
1490- // collective_Instance2
1491- technical_committee : TechnicalCommitteeConfig :: default ( ) ,
14921413 // no need to pass anything to aura, in fact it will panic if we do. Session will take care
14931414 // of this.
14941415 aura : Default :: default ( ) ,
1495- // pallet_membership_Instance1
1496- technical_membership : TechnicalMembershipConfig {
1497- members : vec ! [ root_key. clone( ) ] ,
1498- phantom : Default :: default ( ) ,
1499- } ,
1500- assets : Default :: default ( ) ,
15011416 transaction_payment : TransactionPaymentConfig :: default ( ) ,
15021417 aura_ext : Default :: default ( ) ,
15031418 parachain_system : Default :: default ( ) ,
@@ -1555,29 +1470,9 @@ fn tanganika_testnet_genesis(
15551470 } )
15561471 . collect ( ) ,
15571472 } ,
1558- democracy : DemocracyConfig :: default ( ) ,
1559- elections : ElectionsConfig {
1560- members : endowed_accounts
1561- . iter ( )
1562- . take ( ( num_endowed_accounts + 1 ) / 2 )
1563- . cloned ( )
1564- . map ( |member| ( member, INITIAL_ENDOWMENT ) )
1565- . collect ( ) ,
1566- } ,
1567- // https://github.com/paritytech/substrate/commit/d6ac9f551b71d9c7b69afcebfc68ace310ef74ee
1568- // collective_Instance1
1569- council : CouncilConfig :: default ( ) ,
1570- // collective_Instance2
1571- technical_committee : TechnicalCommitteeConfig :: default ( ) ,
15721473 // no need to pass anything to aura, in fact it will panic if we do. Session will take care
15731474 // of this.
15741475 aura : Default :: default ( ) ,
1575- // pallet_membership_Instance1
1576- technical_membership : TechnicalMembershipConfig {
1577- members : vec ! [ root_key. clone( ) ] ,
1578- phantom : Default :: default ( ) ,
1579- } ,
1580- assets : Default :: default ( ) ,
15811476 transaction_payment : TransactionPaymentConfig :: default ( ) ,
15821477 aura_ext : Default :: default ( ) ,
15831478 parachain_system : Default :: default ( ) ,
0 commit comments