Normal behavior: The marketplace is intended to allow the first bid to meet or exceed the listing’s minimum price (minPrice) so that the auction can start correctly and match user expectations.
Issue: The contract currently enforces:
This requires the first bid to be strictly greater than minPrice, not equal.
Tests or users may assume that bidding exactly at minPrice is allowed, creating possible confusion between the code and the intended behavior.
Likelihood:
Occurs whenever a bidder attempts to place a first bid equal to minPrice.
Happens because the contract logic is stricter than what users or tests may expect.
Impact:
The first bid is rejected unexpectedly, potentially confusing users.
Tests that assume equality (== minPrice) will fail, creating discrepancies between test expectations and contract behavior.
The following available test revert First bid must be > min price
Demonstrates that the current contract rejects bids equal to minPrice, highlighting the mismatch with expected behavior.
Aligns the contract or the test with the intended behavior.
First bid validation uses > instead of >=, preventing valid starting bids.
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.