When distributeRewards() function of the GaugeController is called, it invokes notifyRewardAmount() function of the gauge.
However, the function does not transfer rewards to a gauge making notifyRewardAmount() revert due to the following check.
The same can be said about distributeRevenue() function of the GaugeController, which calls _distributeToGauges(). _distributeToGauges() also notifies the reward amount to a gauge, without transferring rewards.
Both distributeRewards() and distributeRevenue() functions will revert as notifyRewardAmount() require assets to be transferred in.
Transfer assets when calling notifyRewardAmount.
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.