The placeBid function incorrectly emits an AuctionSettled event every time a regular bid is successfully placed. An auction is only truly "settled" when a winner is finalized and assets are transferred, which is handled by the
_executeSale function. This incorrect event emission will cause off-chain services and front-end applications to misrepresent the state of active auctions, reporting them as finished when they are still ongoing.
Likelihood:
This occurs every time a user places a valid bid on an auction that does not trigger the "Buy Now" condition.
An off-chain application or user is monitoring contract events to track auction states.
Impact:
The integrity of the contract's event logs is compromised, making reliable tracking of auction states impossible.
Users may be misled by front-end applications into believing an auction has ended, potentially causing them to miss opportunities to place further bids.
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.