When GaugeController::distributeRevenueis called, there is a misallocation of funds to gauges.
GaugeController::distributeRevenueis designed to distribute revenue between veToken holders and gauges. It does this by first calculating veRAACShareand performanceShare. Further down the line, the function makes a call to _distributeToGauges which should distribute rewards to gauges , but the argument it is called with is veRAACShareand not the correct performanceSharevalue.
As we can see in the event emitted, performanceShare is what should be distributedToGauges:
which means the function incorrectly sends veRAACShare to gauges instead of performanceShare
Incorrect Revenue distribution.
Manual Review
The function can be implemented correctly, like so:
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.