The updateTotalWeight
function in BoostController
returns zeros for totalWeight
and votingPower
because it queries them using the BoostController's own address which has no lock positions in veRAACToken
.
The function retrieves values using BoostController's address:
Since BoostController
has no mechanism to create lock positions in veRAACToken
, this will always return zeros for totalWeight
and votingPower
, potentially affecting boost calculations.
High: Core boost calculation function returns incorrect values, likely affecting all boost-related functionality in the protocol.
The boost calculation architecture is broken. Review and fix the boost calculation architecture and ensure totalWeight
and votingPower
are used correctly and queried using the correct addresses.
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.