migrate pallet-elections-phragmen to attribute macros (#8044)
* All done * Fix benchmarks * Apply suggestions from code review Co-authored-by:Guillaume Thiolliere <gui.thiolliere@gmail.com> * Fix metadata. * Fix build * Add migrations * Fix * Update frame/elections-phragmen/src/migrations/v4.rs * Better migeation test * More test * Fix warn * Update frame/elections-phragmen/src/lib.rs Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> * Fix test * early exit * Fix * Fix build Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com>
Showing
- substrate/Cargo.lock 1 addition, 1 deletionsubstrate/Cargo.lock
- substrate/bin/node/runtime/Cargo.toml 1 addition, 1 deletionsubstrate/bin/node/runtime/Cargo.toml
- substrate/frame/elections-phragmen/CHANGELOG.md 12 additions, 1 deletionsubstrate/frame/elections-phragmen/CHANGELOG.md
- substrate/frame/elections-phragmen/Cargo.toml 5 additions, 2 deletionssubstrate/frame/elections-phragmen/Cargo.toml
- substrate/frame/elections-phragmen/src/benchmarking.rs 7 additions, 6 deletionssubstrate/frame/elections-phragmen/src/benchmarking.rs
- substrate/frame/elections-phragmen/src/lib.rs 318 additions, 264 deletionssubstrate/frame/elections-phragmen/src/lib.rs
- substrate/frame/elections-phragmen/src/migrations/mod.rs 23 additions, 0 deletionssubstrate/frame/elections-phragmen/src/migrations/mod.rs
- substrate/frame/elections-phragmen/src/migrations/v3.rs 0 additions, 0 deletionssubstrate/frame/elections-phragmen/src/migrations/v3.rs
- substrate/frame/elections-phragmen/src/migrations/v4.rs 110 additions, 0 deletionssubstrate/frame/elections-phragmen/src/migrations/v4.rs
This diff is collapsed.
File moved
Please register or sign in to comment