diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 2bd96390c801..b7b8c5a44498 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -1558,7 +1558,10 @@ pub fn rococo_testnet_genesis( authority_discovery: rococo_runtime::AuthorityDiscoveryConfig { keys: vec![] }, sudo: rococo_runtime::SudoConfig { key: root_key.clone() }, configuration: rococo_runtime::ConfigurationConfig { - config: default_parachains_host_configuration(), + config: polkadot_runtime_parachains::configuration::HostConfiguration { + max_validators_per_core: Some(1), + ..default_parachains_host_configuration() + }, }, hrmp: Default::default(), paras: rococo_runtime::ParasConfig { paras: vec![] }, @@ -1820,13 +1823,18 @@ pub fn westend_local_testnet_config() -> Result { 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_authority_keys_from_seed("Dave"), + ], get_account_id_from_seed::("Alice"), None, ) } -/// Rococo local testnet config (multivalidator Alice + Bob) +/// Rococo local testnet config (multivalidator Alice + Bob + Charlie + Dave) #[cfg(feature = "rococo-native")] pub fn rococo_local_testnet_config() -> Result { let wasm_binary = rococo::WASM_BINARY.ok_or("Rococo development wasm not available")?;