Users can DoS the filling of off-chain orders
Users can create an off-chain order that a keeper then uses and fills on-chain using SettlementBranch::fillOffchainOrders()
. We have this line there:
Any user that is in the off-chain orders array provided by the keeper can call this function that will make the code above revert:
This will disallow the keeper from filling the off-chain orders. The bigger issue is that it would be extremely hard for the keeper to determine if someone is malicious and is just looking to DoS the filling of orders so he can just exclude him from the array. This makes it so a malicious user could always end up on that array as long as he wants to and DoS the function whenever he wants.
Users can DoS the filling of off-chain orders
Manual Review
Use continue instead of reverting, also refactor the rest of the code to not revert but instead continue whenever the function would revert due to the function failling because of a particular user
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.