In veRAACToken.sol, increase()function adds more tokens to an existing lock without changing the unlock time. However, the function does not check that the added RAAC tokens will result in hitting the defined maxTotalLockedvalue.
In the code snippet above, the increase()function calls _lockState.increaseLock()internally. In this function, the line to check whether the additional RAAC amount added will result in reaching the maxTotalLockedvalue, is commented out in line 13 below.
The maximum total RAAC tokens allowed to be locked is infinite.
Manual
Include this line: if (state.totalLocked + additionalAmount > state.maxTotalLocked) revert AmountExceedsLimit();in _lockState.increaseLock()
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.