The AuctionSettled event is incorrectly emitted during the placeBid function when a user places a regular bid. This event should only be emitted when an auction is actually settled (i.e., when the NFT is transferred to the winner and payment is distributed), not during the bidding process. This creates misleading event logs and wastes gas.
The correct event should be BidPlaced, which is already emitted later in the function at line 180.
Likelihood:
Occurs on every regular bid placement
Does not affect buy-now purchases
Impact:
Misleading Event Logs: Off-chain systems and frontends will incorrectly interpret bids as settled auctions
Integration Issues: Indexers, analytics tools, and monitoring systems will receive false settlement data
Gas Waste: Emitting wrong event wastes gas for users
User Confusion: Users monitoring events will see contradictory data (AuctionSettled + BidPlaced for same transaction)
Audit Trail Corruption: Historical event logs become unreliable for tracking actual auction settlements
Remove the misplaced event emission:
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.