The whenNotPaused
modifier on collectFee()
function in FeeCollector can lead to loss of fees during protocol emergency pauses.
Protocol operations (swaps, lending, etc.) that occurred right before the pause would be unable to register their fees, leading to missing fee accounting and lost protocol revenue, along with this it leads to permanent inconsistency between actual fees generated and fees recorded
Remove whenNotPaused
modifier from collectFee()
:
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.