Function processDepositCancellation()
doesn't handle edge case.
In integrating Protocol (GMX) there exists a request cancellation period for a few blocks where deposit requests cannot be cancelled.
The check GMXChecks.beforeProcessDepositCancellationChecks(self);
is insufficent and only checks if status is Deposit
. see check below:
A User who requests deposit cancellation may experience unexpected / unexplained DOS
Manual review
Include a check for this edge case in beforeProcessDepositCancellationChecks()
Or wrap the function processDepositCancellation()
in a try-catch method.
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.