In the BaseGuage.sol the maxBoost is initialized as 25000 and the minBoost is initialized as 1e18. This is wrong and leads to applyBoost function always reverting.
When the applyBoost function is called (during the reward calculation of the users) it calls the calculateBoost in the BoostCalculator.sol. Here the following expression is calculated:
Because of the incorrect initialization, this will always revert and thus no user can stake/withdraw or even rewards cant be added into the BaseGuage.sol
all guages will become unusable
manual review
update minBoost to 1e4 instead of 1e18
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.