mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 01:07:57 +00:00
some tweaks to rococo-local (#3996)
* some tweaks to rococo-local * rococo-local, not staging
This commit is contained in:
@@ -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<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_authority_keys_from_seed("Dave"),
|
||||
],
|
||||
get_account_id_from_seed::<sr25519::Public>("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<RococoChainSpec, String> {
|
||||
let wasm_binary = rococo::WASM_BINARY.ok_or("Rococo development wasm not available")?;
|
||||
|
||||
Reference in New Issue
Block a user