maxTotalLocked is not checked when user locks RAAC tokens in veRAACToken.
When a user calls lock() to create a new lock position for RAAC tokens, protocol checks if the locked amount is more than MAX_LOCK_AMOUNT or the total supply after the lock would mint more veRAAC tokens than MAX_TOTAL_SUPPLY.
However, it does not check if the total locked RAAC token amount is larger than _lockState.maxTotalLocked.
The same issue exists in increase() when user increase locked amount.
The locked RAAC token amount can be more than maxTotalLocked.
Manaul Review
Check if the total locked RAAC token amount is larger than _lockState.maxTotalLocked.
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.