Auction does not last the full duration because of off by one error
The auction duration is how long the auction should be open for and accepting bids. The problem occurs when we set the endtime of the auction to include part of the duration.
as we can see from the snippet above the endTime is set to the startTime + the duration of the auction. But if we check what constitutes an ended auction we will observe the followig...
as we can see if the end time is <= the timestamp then the auction has ended.
This means that the duration of the the auction is actually Duration -1 and not actually the full duration. Users who expect the auction to be open for the entire duration will not be able to bid when they should because of the off by one error.
Auction End time is set while the auction should technically be running because of off by one error. Auction will end when it shouldnt and no allow users to bid when they should.
Manual Review
set the end time to be 1 more than the duration + auction start time in order for the auction to run the full duration.
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.