minimal requirements lowered to two stakerers at minimum

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2024-10-13 20:37:29 +03:00
parent f9b87d0d08
commit aaf842f57b
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA

View File

@ -360,10 +360,10 @@ fn casper_staging_config_genesis() -> serde_json::Value {
serde_json::json!({ serde_json::json!({
"balances": { "balances": {
"balances": endowed_accounts "balances": endowed_accounts
.iter() .iter()
.map(|k: &AccountId| (k.clone(), ENDOWMENT)) .map(|k: &AccountId| (k.clone(), ENDOWMENT))
.chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH))) .chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH)))
.collect::<Vec<_>>(), .collect::<Vec<_>>(),
}, },
"session": { "session": {
"keys": initial_authorities "keys": initial_authorities
@ -384,7 +384,7 @@ fn casper_staging_config_genesis() -> serde_json::Value {
}, },
"staking": { "staking": {
"validatorCount": 50, "validatorCount": 50,
"minimumValidatorCount": 4, "minimumValidatorCount": 2,
"stakers": initial_authorities "stakers": initial_authorities
.iter() .iter()
.map(|x| { .map(|x| {