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
@@ -310,6 +310,7 @@ impl ExtBuilder {
offline_slash: Perbill::from_percent(5),
offline_slash_grace: 0,
invulnerables: vec![],
.. Default::default()
}.assimilate_storage(&mut storage);
let _ = session::GenesisConfig::<Test> {