celo-monorepo
celo-monorepo copied to clipboard
`dequeueProposalsIfReady` should not update the dequeue timestamp if there were not proposals to dequeue
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.