The events when a Short, Ask, or Bid are created can include incorrect IDs.
In the case of Bids and Asks, the ID can be incorrect because Market Orders are not added to the order book and therefore do not have an ID. Additionally, an incorrect ID can be present in the event when an order is fully matched immediately after creation. In such cases, the order does not enter the order book and also does not receive an ID.
Off-chain services that work with these events might malfunction and display incorrect content.
VSCode
These events should only be emitted after the order has been added to the order book, i.e., after the addSellOrder
or addBid
function has been called.
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.