Unverified Commit b7767168 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Ensure earliest allowed block is at minimum the next block (#4823)

When `min_enactment_period == 0` and `desired == At(n)` where `n` is
smaller than the current block number, the scheduling would fail. This
happened for example here:
https://collectives.subsquare.io/fellowship/referenda/126

To ensure that this doesn't happen again, ensure that the earliest
allowed block is at minimum the next block.
parent fed81f7e
Pipeline #482148 waiting for manual action with stages
in 54 minutes and 17 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment