fillOffchainOrders()
shouldn't revert when it fails to fill one offchain order.
While filling offchain orders, it validates several requirements and reverts if one of them is invalid.
Especially, it reverts if the trading account's nonce was increased which is possible by the account owner anytime.
In this case, fillOffchainOrders()
will revert and other valid offchain orders won't be filled.
I think the above case should be continued without reverting like the invalid price.
fillOffchainOrders()
would revert unnecessarily for some cases.
Manual Review
Recommend modifying like the below.
If you send 1 cancel and 1 create it should still run the cancel, not revert everything.
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.