From e5f66eac10e2fc5a52d46c510632cc5c68fde80f Mon Sep 17 00:00:00 2001 From: Mokhtar Naamani Date: Tue, 26 Mar 2024 02:24:50 +0400 Subject: [PATCH] genesis config: start with PoS instead of PoA --- bin/node/src/chain_spec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/node/src/chain_spec/mod.rs b/bin/node/src/chain_spec/mod.rs index 20c4b4484e..26ec138914 100644 --- a/bin/node/src/chain_spec/mod.rs +++ b/bin/node/src/chain_spec/mod.rs @@ -307,7 +307,7 @@ pub fn testnet_genesis( minimum_validator_count: initial_authorities.len().min(4) as u32, invulnerables: initial_authorities.iter().map(|x| x.0.clone()).collect(), slash_reward_fraction: Perbill::from_percent(10), - force_era: Forcing::ForceNone, + force_era: Forcing::NotForcing, stakers, min_nominator_bond: GENESIS_MIN_NOMINATOR_BOND, min_validator_bond: GENESIS_MIN_VALIDATOR_BOND,