Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Use default for intergration test relay runtimes #2616

Merged
merged 1 commit into from
May 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 2 additions & 32 deletions parachains/integration-tests/emulated/common/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,32 +198,12 @@ pub mod polkadot {
slash_reward_fraction: Perbill::from_percent(10),
..Default::default()
},
phragmen_election: Default::default(),
democracy: Default::default(),
council: polkadot_runtime::CouncilConfig {
members: vec![],
phantom: Default::default(),
},
technical_committee: polkadot_runtime::TechnicalCommitteeConfig {
members: vec![],
phantom: Default::default(),
},
technical_membership: Default::default(),
babe: polkadot_runtime::BabeConfig {
authorities: Default::default(),
epoch_config: Some(polkadot_runtime::BABE_GENESIS_EPOCH_CONFIG),
},
grandpa: Default::default(),
im_online: Default::default(),
authority_discovery: polkadot_runtime::AuthorityDiscoveryConfig { keys: vec![] },
claims: polkadot_runtime::ClaimsConfig { claims: vec![], vesting: vec![] },
vesting: polkadot_runtime::VestingConfig { vesting: vec![] },
treasury: Default::default(),
hrmp: Default::default(),
configuration: polkadot_runtime::ConfigurationConfig { config: get_host_config() },
paras: Default::default(),
xcm_pallet: Default::default(),
nomination_pools: Default::default(),
..Default::default()
};

genesis_config.build_storage().unwrap()
Expand Down Expand Up @@ -318,18 +298,8 @@ pub mod kusama {
authorities: Default::default(),
epoch_config: Some(kusama_runtime::BABE_GENESIS_EPOCH_CONFIG),
},
grandpa: Default::default(),
im_online: Default::default(),
authority_discovery: kusama_runtime::AuthorityDiscoveryConfig { keys: vec![] },
claims: kusama_runtime::ClaimsConfig { claims: vec![], vesting: vec![] },
vesting: kusama_runtime::VestingConfig { vesting: vec![] },
treasury: Default::default(),
hrmp: Default::default(),
configuration: kusama_runtime::ConfigurationConfig { config: get_host_config() },
paras: Default::default(),
xcm_pallet: Default::default(),
nomination_pools: Default::default(),
nis_counterpart_balances: Default::default(),
..Default::default()
};

genesis_config.build_storage().unwrap()
Expand Down