Improved election pallet testing (#12327)
* Improved election pallet testing * fmt * remove comment * more checks * fixes in logic * roll_to_signed * switch to roll_to_signed * Update frame/election-provider-multi-phase/src/mock.rs Co-authored-by:Kian Paimani <5588131+kianenigma@users.noreply.github.com> * remove useless checks * remove warning * add checks to signed.rs * add some checks to unsigned.rs * fmt * use roll_to_signed and roll_to_unsigned * remove nonsense * remove even more nonsense * fix * fix * remove useless checks Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-authored-by: parity-processbot <>
Showing
- substrate/frame/election-provider-multi-phase/src/lib.rs 133 additions, 28 deletionssubstrate/frame/election-provider-multi-phase/src/lib.rs
- substrate/frame/election-provider-multi-phase/src/mock.rs 11 additions, 0 deletionssubstrate/frame/election-provider-multi-phase/src/mock.rs
- substrate/frame/election-provider-multi-phase/src/signed.rs 110 additions, 20 deletionssubstrate/frame/election-provider-multi-phase/src/signed.rs
- substrate/frame/election-provider-multi-phase/src/unsigned.rs 51 additions, 24 deletions...trate/frame/election-provider-multi-phase/src/unsigned.rs
Please register or sign in to comment