Post-condition checking for some pallets (#5591)

* add pre/post condition check to elections

* Tests for staking

* Better intersection fn

* Fix build
This commit is contained in:
Kian Paimani
2020-04-11 13:12:59 +02:00
committed by GitHub
parent 877a7ab531
commit 8e0d01570f
4 changed files with 306 additions and 293 deletions
-1
View File
@@ -1184,7 +1184,6 @@ decl_module! {
} else {
log!(warn, "💸 Failed to create snapshot at {:?}.", now);
}
}
}
} else {