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

Commit

Permalink
some tweaks to rococo-local
Browse files Browse the repository at this point in the history
  • Loading branch information
ordian committed Sep 22, 2021
1 parent 8679c5e commit 5f55ac1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions node/service/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ fn default_parachains_host_configuration(
max_code_size: MAX_CODE_SIZE,
max_pov_size: MAX_POV_SIZE,
max_head_data_size: 32 * 1024,
max_validators_per_core: Some(1),
group_rotation_frequency: 20,
chain_availability_period: 4,
thread_availability_period: 4,
Expand Down Expand Up @@ -1807,13 +1808,17 @@ pub fn westend_local_testnet_config() -> Result<WestendChainSpec, String> {
fn rococo_local_testnet_genesis(wasm_binary: &[u8]) -> rococo_runtime::GenesisConfig {
rococo_testnet_genesis(
wasm_binary,
vec![get_authority_keys_from_seed("Alice"), get_authority_keys_from_seed("Bob")],
vec![
get_authority_keys_from_seed("Alice"),
get_authority_keys_from_seed("Bob"),
get_authority_keys_from_seed("Charlie"),
],
get_account_id_from_seed::<sr25519::Public>("Alice"),
None,
)
}

/// Rococo local testnet config (multivalidator Alice + Bob)
/// Rococo local testnet config (multivalidator Alice + Bob + Charlie)
#[cfg(feature = "rococo-native")]
pub fn rococo_local_testnet_config() -> Result<RococoChainSpec, String> {
let wasm_binary = rococo::WASM_BINARY.ok_or("Rococo development wasm not available")?;
Expand Down

0 comments on commit 5f55ac1

Please sign in to comment.