Within the PreMarkes::createTaker
function, there is no update in the offerStatus even though clearly the trade has been executed. The OfferInfo
struct includes offerStatus which is an enum below;
This makes the offerInfo.offerStatus to remain Virgin
even though the offer has been fulfilled as no modifications are done in PreMarkes::createTaker
-
https://github.com/Cyfrin/2024-08-tadle/blob/04fd8634701697184a3f3a5558b41c109866e5f8/src/core/PreMarkets.sol#L164
Offer depicts wrong offerStatus information
Manual Review
Consider updating the offerInfo offerStatus accordingly in respective functions, for example in PreMarkets::createTaker
you can update it to either Ongoing
or Filled
depending on the scenario.
Although duplicate of #148, impact mentioned is low severity/invalid, see comments there
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.