The sequence of orders of same accoutId can lead some orders not fulfilled.
SettlementBranch::fillOffchainOrders has check:
Users can submit several orders at the same time, and the keeper can pack several orders from same accountId in one tx. However the sequence of orders can be in a random sequence.
For example:
A user submit two offchain orders:
offchain order 1: order nonce = 5, shouldIncreaseNonce = true
offchain order 2: order nonce = 6, shouldIncreaseNonce = true
At this time account nonce = 5.
If OffchainOrdersKeeper packages offchain orders and places order1 before order2, both orders can be filled normally.
If OffchainOrdersKeeper packages offchain orders and places order2 before order1, then order2 cannot be filled properly, while order1 can be filled normally (since both have a nonce of 5, they match).
The sequence of orders of same accoutId can lead some orders not fulfilled.
manual
Offchain keeper should handle ordering properly according to order nonce.
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.