celo-monorepo icon indicating copy to clipboard operation
celo-monorepo copied to clipboard

`dequeueProposalsIfReady` should not update the dequeue timestamp if there were not proposals to dequeue

Open m-chrzan opened this issue 2 years ago • 0 comments

Expected Behavior

lastDequeue should only be updated when proposals are dequeued.

Current Behavior

If dequeueProposalsIfReady is called (including during other governance operations like voting) and there are no proposals to dequeue, the lastDequeue timestamp gets updated.

m-chrzan avatar Jun 21 '22 17:06 m-chrzan