From aaf842f57b802a941d3411f28a2a186b3846666d Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Sun, 13 Oct 2024 20:37:29 +0300 Subject: [PATCH] minimal requirements lowered to two stakerers at minimum Signed-off-by: Uncle Stretch --- service/src/chain_spec.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/service/src/chain_spec.rs b/service/src/chain_spec.rs index 6e81dd8..11d8eef 100755 --- a/service/src/chain_spec.rs +++ b/service/src/chain_spec.rs @@ -360,10 +360,10 @@ fn casper_staging_config_genesis() -> serde_json::Value { serde_json::json!({ "balances": { "balances": endowed_accounts - .iter() - .map(|k: &AccountId| (k.clone(), ENDOWMENT)) - .chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH))) - .collect::>(), + .iter() + .map(|k: &AccountId| (k.clone(), ENDOWMENT)) + .chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH))) + .collect::>(), }, "session": { "keys": initial_authorities @@ -384,7 +384,7 @@ fn casper_staging_config_genesis() -> serde_json::Value { }, "staking": { "validatorCount": 50, - "minimumValidatorCount": 4, + "minimumValidatorCount": 2, "stakers": initial_authorities .iter() .map(|x| {