Stabilize seal_debug_message (#9550)

* Stableize `seal_debug_message`

* Update changelog

* Enable more tests

* Cargo fmt
This commit is contained in:
Alexander Theißen
2021-08-12 22:40:11 +02:00
committed by GitHub
parent 91929c589f
commit 199b2883af
11 changed files with 15 additions and 20 deletions
@@ -1413,7 +1413,8 @@ impl<T: Config> Pallet<T> {
// Check that assignment.who is actually a voter (defensive-only).
// NOTE: while using the index map from `voter_index` is better than a blind linear
// search, this *still* has room for optimization. Note that we had the index when
// we did `solution -> assignment` and we lost it. Ideal is to keep the index around.
// we did `solution -> assignment` and we lost it. Ideal is to keep the index
// around.
// Defensive-only: must exist in the snapshot.
let snapshot_index =