Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
choir: clean dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
metricaez committed Feb 15, 2024
1 parent ce397a1 commit d61eafb
Showing 1 changed file with 0 additions and 99 deletions.
99 changes: 0 additions & 99 deletions node/src/chain_spec/stout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,54 +85,6 @@ pub fn stout_local_testnet_config() -> ChainSpec {
.with_properties(properties)
.build()

// ChainSpec::from_genesis(
// // Name
// "Stout Local",
// // ID
// "stout_local",
// ChainType::Local,
// move || {
// testnet_genesis(
// // Initial collators.
// vec![
// (
// get_account_id_from_seed::<sr25519::Public>("Alice"),
// get_collator_keys_from_seed::<AuraId>("Alice"),
// ),
// (
// get_account_id_from_seed::<sr25519::Public>("Bob"),
// get_collator_keys_from_seed::<AuraId>("Bob"),
// ),
// ],
// // Sudo account
// get_account_id_from_seed::<sr25519::Public>("Alice"),
// // Pre-funded accounts
// vec![
// get_account_id_from_seed::<sr25519::Public>("Alice"),
// get_account_id_from_seed::<sr25519::Public>("Bob"),
// get_account_id_from_seed::<sr25519::Public>("Charlie"),
// get_account_id_from_seed::<sr25519::Public>("Dave"),
// get_account_id_from_seed::<sr25519::Public>("Eve"),
// get_account_id_from_seed::<sr25519::Public>("Ferdie"),
// ],
// STOUT_PARA_ID.into(),
// )
// },
// // Bootnodes
// vec![],
// // Telemetry
// None,
// // Protocol ID
// Some(DEFAULT_PROTOCOL_ID),
// None,
// // Properties
// Some(properties),
// // Extensions
// Extensions {
// relay_chain: "rococo-local".into(), // You MUST set this to the correct network!
// para_id: STOUT_PARA_ID,
// },
// )
}

/// Configure initial storage state for FRAME modules.
Expand Down Expand Up @@ -175,55 +127,4 @@ pub fn testnet_genesis(
},
}
)
// RuntimeGenesisConfig {
// system: SystemConfig {
// code: stout_runtime::WASM_BINARY
// .expect("WASM binary was not build, please build it!")
// .to_vec(),
// ..Default::default()
// },
// balances: BalancesConfig {
// // Configure endowed accounts with initial balance of 1 << 60.
// balances: endowed_accounts.into_iter().map(|k| (k, 1 << 60)).collect(),
// },
// parachain_info: stout_runtime::ParachainInfoConfig {
// parachain_id: id,
// ..Default::default()
// },
// collator_selection: stout_runtime::CollatorSelectionConfig {
// invulnerables: invulnerables.iter().map(|(acc, _)| acc).cloned().collect(),
// candidacy_bond: EXISTENTIAL_DEPOSIT * 16,
// ..Default::default()
// },
// session: SessionConfig {
// keys: invulnerables
// .iter()
// .map(|(acc, aura)| {
// (
// acc.clone(), // account id
// acc.clone(), // validator id
// session_keys(aura.clone()), // session keys
// )
// })
// .collect(),
// },
// // no need to pass anything to aura, in fact it will panic if we do. Session will take care
// // of this.
// aura: Default::default(),
// aura_ext: Default::default(),
// parachain_system: Default::default(),
// polkadot_xcm: stout_runtime::PolkadotXcmConfig {
// safe_xcm_version: Some(SAFE_XCM_VERSION),
// ..Default::default()
// },
// sudo: SudoConfig {
// // Assign network admin rights.
// key: Some(root_key),
// },
// assets: AssetsConfig { assets: vec![], accounts: vec![], metadata: vec![] },
// council: CouncilConfig {
// members: invulnerables.into_iter().map(|x| x.0).collect::<Vec<_>>(),
// phantom: Default::default(),
// },
// }
}

0 comments on commit d61eafb

Please sign in to comment.