The BaseGuage::setBoostParameters function fails to validate that minBoos
t is less than maxBoost
. This can lead to an inconsistent boost range, potentially causing inaccurate reward calculations or unintended behavior in boost-based reward mechanisms.
Vulnerability location: BaseGuage::setBoostParameters
The function allows minBoost
to be greater than or equal to maxBoost
without any checks.
An inverted boost range may break logic in functions that rely on minBoost and maxBoost for calculating rewards or user weights.
Since the RAACGuage
and RWAGauge
inherit the BaseGauge
contract, both contracts are impacted by this issue. This issue results in incorrect boost calculation and, thus, incorrect reward calculation
Manual review
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.