The try...catch block for IGmxProxy(gmxProxy).refundExecutionFee does not emit ExecutionFeeRefundFailed event when the function fails. This makes it difficult to detect and debug refund failures, especially for off-chain monitoring systems.
Silent failures make it harder to track unsuccessful refund attempts.
Lack of transparency in contract execution.
Potential loss of funds if failures go unnoticed.
Emit ExecutionFeeRefundFailed event inside the catch block to log refund failures. This will help with debugging and off-chain tracking.
Suggested Fix:
Modify the catch block to include an event emission:
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelihood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.