The veRAACToken::increase
function uses an uninitialized locks mapping for boost calculations instead of the correct _lockState.locks
storage. This mapping is never updated, causing all boost calculations to use zero amounts.
Example of data inconsistency:
Likelihood: High
Occurs on every increase operation
The mapping is never initialized
Impact: Medium
Boost calculations use zero amounts
Users lose all boost benefits when increasing position
Affects governance power calculations
Should use the correct _lockState.locks
storage for boost calculations.
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.