Era change can be forced on and forced off (#3374)

* Forcing can be on or off.

* Add a testcase.
This commit is contained in:
Gavin Wood
2019-08-12 18:14:16 +02:00
committed by GitHub
parent ebba5d1d3c
commit 9afd655d8b
6 changed files with 87 additions and 24 deletions
+2
View File
@@ -141,6 +141,7 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
(x.0.clone(), x.1.clone(), STASH, StakerStatus::Validator)
}).collect(),
invulnerables: initial_authorities.iter().map(|x| x.0.clone()).collect(),
.. Default::default()
}),
democracy: Some(DemocracyConfig::default()),
collective_Instance1: Some(CouncilConfig {
@@ -268,6 +269,7 @@ pub fn testnet_genesis(
(x.0.clone(), x.1.clone(), STASH, StakerStatus::Validator)
}).collect(),
invulnerables: initial_authorities.iter().map(|x| x.0.clone()).collect(),
.. Default::default()
}),
democracy: Some(DemocracyConfig::default()),
collective_Instance1: Some(CouncilConfig {