BidBeastsNFTMarket::placeBid function emits the AuctionSettled event on any bid placement, causing misinformation and confusion for users.The BidBeastsNFTMarket::placeBid function emits the AuctionSettled event on any bid placement, while it should only be emitted if the bid equals or is greater than _buyNowPrice. The event
Inaccurate information and confusion for users and decentralized applications (dapps) that depend on the protocol's logs.
Likelihood: High
This event emission occurs on each valid bid.
No specific condition.
Impact: Low
Inaccurate information for users.
Confusion for users’ decentralized applications (dapps) that depend on the protocol’s logs
Add the following code snippet to the `BidBeastsMarketPlaceTest.t.sol` test file.
Remove the `AuctionSettled` event emission from the `BidBeastsNFTMarket::placeBid` function.
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.