BidBeastsNFTMarketPlace::placeBid comparison options make unexpected NFT minimum priceThis function is designed to allow bidders or buyers to submit their offers for acquiring the desired NFT, with the minimum bid price set at listing.minPrice—as established by the seller during the listing process.
However, a flaw in the comparison operator—using > (greater than) instead—forces bids to exceed listing.minPrice. This deviates from the protocol's documentation and the README.md file.
Likelihood: High
Reason 1: It's practically guaranteed that every prospective buyer will call this function to submit their bids.
Reason 2: The initial bidder or buyer will run into this particular code block.
Impact: Low
Impact 1: While it won't result in any financial losses, it nonetheless strays from the protocol's intended logic outlined in the documentation.
Impact 2: It compels the first bidder to submit an offer exceeding listing.minPrice.
This Foundry test returned true which mean expected revert has fulfilled.
Replace > with >= to allow bids equal to the minimum price.
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.