During liquidation, after all fees are payed and positions closed, all market orders are cleared, since the no longer reflect the position of the account, but this is not true for offchain orders since they cannot be reached through the contract. Thus this should be taken into consideration before filling offchain orders.
Manual review
Add a check to corroborate if the account has been liquidated in marketId.
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.