[L-3] Lack of Event Emission on Delegate Call Reversion
Description:
The _preventDelegateCall
function reverts with a custom error Errors.DelegateCall
but does not emit any event to log the occurrence of a delegate call attempt.
Impact:
Without an event emission, it becomes difficult to track and analyze delegate call attempts, hindering monitoring and debugging.
Proof of Concept:
Interact with the contract and observe that no event is emitted when a delegate call is prevented.
Recommended Mitigation:
Emit an event when a delegate call is detected and prevented.
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.