The cancelSellOrder Function marks the cancelled order as inactive but does not delete
the Order struct from storage.Due to this contract retains unnecessary data.This leads to
unbounded storage and storage bloat over the time.
Impact:
1.Increased storage costs especially in high trading volumes.
2.Elevated and increased gas costs when reading/writting to storages
3.Due to Higher gas fees ,users gets discourages to buy.
4.waste of on-chain storage leads to inefficiency.
Add delete statement to delete from the mappings and free up the storage.
By design only `seller` can call `cancelSellOrder()` on their `order`. But when an `order` expires, and the `seller` doesn't have access to the protocol, the expired `order `should be be able to be cancelled by an `admin`.
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.