The applyTreasuryUpdate function applies the pending treasury update after a given period ~ timelock.
However when it reverts the fuction throws UnauthorizedCaller() instead of giving the proper Error
Wrong event emitted
The result is that it'll confuse users who want to apply the treasury update, they would think it reverted because of access control and never try it again despite it reverting because the time limit hadn't been met already.
Manual analysis
set the correct event
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.