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 authored and GitHub committed 2019-08-12 18:14:16 +02:00
1 parent ebba5d1d3c
commit 9afd655d8b
6 files changed
+87 -24

No files matched your search

+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(),