increase does not verify for MAX_TOTAL_SUPPLY
increase does not check if we are trying to make a lock with more than MAX_TOTAL_SUPPLY
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/core/tokens/veRAACToken.sol#L251
We can see that it's missing from the above function, while also being commented out from the bellow one:
https://github.com/Cyfrin/2025-02-raac/blob/main/contracts/libraries/governance/LockManager.sol#L152
The system max cap is breached.
Invariant is broken.
More voting power can be created beyond the maximum allocation, which may lead to fragmented governance or make proposals easier to pass. For example, if the minimum voting threshold is 30 million (30% of the cap) and the total voting power increases to 200 million, the threshold becomes easier to reach. This reduces the percentage of the user base required to approve a proposal, potentially enabling the passage of undesirable decisions.
Manual review
Uncoment the line.
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.