Alliance pallet: retirement notice call (#11970)
* Alliance pallet: retirement notice * add alliance pallet to benchmark list for dev chain * fix type * ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance * ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance * link weight generated by bench for retirement_notice method * migration to clear UpForKicking storage prefix * rename migration from v1 to v0_to_v1 * Apply suggestions from code review Co-authored-by:joe petrowski <25483142+joepetrowski@users.noreply.github.com> * rename `retirement-notice to give-retirement-notice * Apply suggestions from code review Co-authored-by:
Squirrel <gilescope@gmail.com> * review fixes: update doc, saturating add, BlockNumber type alias * add suffix to duratin consts *_IN_BLOCKS * ".git/.scripts/bench-bot.sh" pallet dev pallet_alliance * add negative tests (#11995) * add negative tests * remove tests powerless asserts checking against announcment origin * assert bad origin from announcement origin checks Co-authored-by:
muharem <ismailov.m.h@gmail.com> Co-authored-by: command-bot <> Co-authored-by:
joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by:
Squirrel <gilescope@gmail.com>
Showing
- substrate/bin/node/runtime/src/lib.rs 14 additions, 2 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/alliance/README.md 1 addition, 0 deletionssubstrate/frame/alliance/README.md
- substrate/frame/alliance/src/benchmarking.rs 26 additions, 5 deletionssubstrate/frame/alliance/src/benchmarking.rs
- substrate/frame/alliance/src/lib.rs 55 additions, 24 deletionssubstrate/frame/alliance/src/lib.rs
- substrate/frame/alliance/src/migration.rs 72 additions, 0 deletionssubstrate/frame/alliance/src/migration.rs
- substrate/frame/alliance/src/mock.rs 9 additions, 7 deletionssubstrate/frame/alliance/src/mock.rs
- substrate/frame/alliance/src/tests.rs 89 additions, 21 deletionssubstrate/frame/alliance/src/tests.rs
- substrate/frame/alliance/src/weights.rs 245 additions, 183 deletionssubstrate/frame/alliance/src/weights.rs
Please register or sign in to comment