rewardRate can be overrided in same period when calling notifyRewardAmount() multiple times in Gauge
Gauge::notifyRewardAmount() function is called by gauge controller to distribute reward tokens periodicly. During notify reward, rewardRate is updated as an indicator of emission rate of reward token. However, this variable can be overrided by a new amount from calling of notifyRewardAmount() again, which results in preious emission to zero in the same emission period.
(And GaugeController::distributeRewards has no authorize controll which leaves anyone can call this function)
users may get less reward token amount than they expected
manual
consider add up previous left reward tokens when calculating rewardRate
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.