Consider this scenario. Proposal is having forVotes > quorum() / 2, then it should be pass even with this currentQuorum < requiredQuorum condition. Its meaning, proposal has majority votes but due to not filling the requiredQuorum even with the againstVotes (it doesn’t matter who votes after next since majority is already voted for forVotes), proposal is considered to be defeated. But it should be success in that case. (In this case, it should fill the required vote gap with whatever vote for or against, due to not filling the required amount, vote is considered to be defeated).
Here is the relavant code.
Even when most voters support the proposal(forVotes > quorum() / 2), it can still fail due to insufficient total votes.
Manual Review
Add this code to to evaluate correctly.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.