pallet-scheduler: Put back postponed tasks into the agenda (#7790)
Right now `pallet-scheduler` is not putting back postponed tasks into the agenda when the early weight check is failing. This pull request ensures that these tasks are put back into the agenda and are not just "lost". --------- Co-authored-by:cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Alexandre R. Baldé <alexandre.balde@parity.io>
Showing
- prdoc/pr_7790.prdoc 9 additions, 0 deletionsprdoc/pr_7790.prdoc
- substrate/frame/scheduler/src/lib.rs 6 additions, 4 deletionssubstrate/frame/scheduler/src/lib.rs
- substrate/frame/scheduler/src/mock.rs 1 addition, 1 deletionsubstrate/frame/scheduler/src/mock.rs
- substrate/frame/scheduler/src/tests.rs 47 additions, 10 deletionssubstrate/frame/scheduler/src/tests.rs
Please register or sign in to comment