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!({
"balances": {
"balances": endowed_accounts
.iter()
.map(|k: &AccountId| (k.clone(), ENDOWMENT))
.chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH)))
.collect::<Vec<_>>(),
.iter()
.map(|k: &AccountId| (k.clone(), ENDOWMENT))
.chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH)))
.collect::<Vec<_>>(),
},
"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| {