Implements `try_state` hook in elections and EPM pallets (#13979)
* Adds try_state hook to elections pallets * Addresses PR review comments Co-authored-by:Liam Aharon <liam.aharon@hotmail.com> * remove unecessary println * ensures try-runtime does not mutate storage * Addresses PR comments * Fixes snapshot invariant checks; simplifies test infra --------- Co-authored-by:
Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: parity-processbot <>
Showing
- substrate/frame/election-provider-multi-phase/src/lib.rs 95 additions, 0 deletionssubstrate/frame/election-provider-multi-phase/src/lib.rs
- substrate/frame/election-provider-multi-phase/src/mock.rs 11 additions, 1 deletionsubstrate/frame/election-provider-multi-phase/src/mock.rs
- substrate/frame/election-provider-multi-phase/src/signed.rs 5 additions, 0 deletionssubstrate/frame/election-provider-multi-phase/src/signed.rs
- substrate/frame/elections-phragmen/src/lib.rs 112 additions, 44 deletionssubstrate/frame/elections-phragmen/src/lib.rs
Please register or sign in to comment