Wrong Event Emission in BidBeastsNFTMarket:placeBid give wrong information about auction state
In BidBeastsNFTMarket:placeBid, whenever a user places a bid on an NFT below the buyNowPrice, the AuctionSettled event is emitted signifying that the nft has sold to the current bidder and that seller has been settled. However, this is mis-information as other users can still place bids on the same NFT.
Likelihood:
Reason 1: This occurs anytime a bid is placed below the buyNowPrice
Impact:
Causes wrong information to be displayed on the front end
Brings about confusion on the state of the auction
Can trigger wrong actions by indexers that rely on these events.
Place the following code in BidBeastsNFTMarketTest.t.sol
Remove the following line from the code.
placeBid emits AuctionSettled even though the auction hasn’t ended, causing misleading event logs.
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.