The AuctionSettled event is incorrectly emitted in the placeBid function before any bid . This event should only be emitted when an auction is finalized (in _executedSale), but instead it fires on every regular bid placement, providing misleading information to off-chain systems and users.
In the placeBid function, the AuctionSettled event is emitted immediately after the buy-now return statement and before regular bidding logic:
Off-chain System Errors: Indexers and APIs will show auctions as "settled" when they're still active
User Interface Bugs: Frontends may display incorrect auction states, confusing users
Remove the misplaced event emission as it emitted in _executeSale:
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.