In RAACMinter.sol, emission rate is update daily via updateEmissionRate(), which uses calculateEmissionRate() to calculate the emission rate based on current utilization. The function adjust the emission rate based on current utilization rate and returns the new emission rate. It increases the rate when utilization is over target and decreases the rate when utilization is under target. But when utilization is exactly at target, it returns the current emission rate instead of the default rate.
In calculateEmissionRate(), changes to emission rate is done only when its greater than or less than target utilization rate. It returns the old value(i.e yesterday's emission) when utilization is exactly at the target utilization rate.
If the emission rate jumps from a low value to the target, it will stay the same even though it is updated. Its the same case when emission comes down from a high value to target. Since emission can only be updated once per day, whenever utilization reach the target rate, emission rate will stay the same for a day, and continue to do so as long as utilization is at the target value.
Manual Review
Returns the default emission rate, set in the constructor, at target instead of the old value.
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.