The BaseGauge
contract initializes minBoost
with incorrect decimal scaling (1e18
) while maxBoost
uses basis points (25,000), causing boost calculation to fail due to underflow.
Boost parameters are initialized with inconsistent scaling in BaseGauge
:
_applyBoost
calls BoostCalculator.calculateBoost
, using the boost parameters:
The boost calculation expects both values in basis points where:
maxBoost
: 25,000 = 2.5x
minBoost
: 10,000 = 1x (should be this)
Instead, minBoost
is set to 1e18
, causing arithmetic underflow when calculating boost range.
High: Boost calculations will revert due to underflow, breaking core reward distribution functionality.
Initialize boost parameters using consistent basis points scaling:
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.