Project documentation should accurately describe contract behavior, such as auction durations, to set correct expectations for users, developers, and integrators interacting with the system.
The provided description claims auctions have a fixed "exactly 3 days" deadline, but the code implements a dynamic 15-minute duration starting from the first bid, with extensions only for bids placed near the end, causing a mismatch that can mislead users about when auctions end.
Likelihood:
Users and developers reference the documentation for guidance on auction timelines
Auctions are initiated with the expectation of a 3-day period, leading to surprises
Impact:
Misaligned user actions, such as delayed bidding assuming longer durations
Reduced usability and potential support issues, though no direct on-chain effects
Add the following test function into the existing tests in `BidBeastsMarketPlaceTest.t.sol`
Update the external documentation to reflect the code's behavior accurately. If a fixed 3-day duration is desired, modify the constant and logic accordingly, but based on current code:
Documentation for BidBeasts Marketplace is incomplete or inaccurate, potentially leading to misconfigurations or security misunderstandings.
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.