Invulnerabiity from slashing for certain validators (#1355)

* Invulnerabiity from slashing

* Update srml/staking/src/lib.rs

Co-Authored-By: gavofyork <github@gavwood.com>
This commit is contained in:
Gav Wood
2019-01-07 16:07:58 +01:00
committed by GitHub
parent d271a4647c
commit 043831cfb0
9 changed files with 43 additions and 5 deletions
+1
View File
@@ -123,6 +123,7 @@ pub fn new_test_ext(
current_session_reward: reward,
current_offline_slash: 20,
offline_slash_grace: 0,
invulnerables: vec![],
}.build_storage().unwrap().0);
t.extend(timestamp::GenesisConfig::<Test>{
period: 5,