Fix invalid state transitions in pallet-bounties (#11630)
* Pallet-bounty: disallow invalid state transitions
* Fix tests: funding only at even block numbers
* Fix benchmarks: bounties need to be funded
* fix on_initialize
Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
parent
8f6ba2e7
Showing
- substrate/frame/bounties/src/lib.rs 1 addition, 1 deletionsubstrate/frame/bounties/src/lib.rs
- substrate/frame/bounties/src/tests.rs 4 additions, 4 deletionssubstrate/frame/bounties/src/tests.rs
- substrate/frame/child-bounties/src/benchmarking.rs 2 additions, 2 deletionssubstrate/frame/child-bounties/src/benchmarking.rs
Please register or sign in to comment