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
+1
View File
@@ -378,6 +378,7 @@ mod tests {
offline_slash: Perbill::zero(),
offline_slash_grace: 0,
invulnerables: vec![alice(), bob(), charlie()],
.. Default::default()
}),
contracts: Some(ContractsConfig {
current_schedule: Default::default(),