Normal behavior: According to S_MIN_BID_INCREMENT_PERCENTAGE = 5, subsequent bids must be at least 5% higher than the previous bid.
Issue: Tests such as test_placeSubsequentBid_RefundsPrevious attempt a new bid that is not ≥5% higher, yet expect it to succeed. In reality, the contract correctly reverts with "Bid not high enough".
Likelihood:
This occurs whenever tests don’t align with the 5% increment logic.
Impact:
Misleading tests: Developers may misinterpret failing tests as contract bugs.
Reduced confidence: Inconsistent test expectations erode trust in the suite.
Explanation:
The contract enforces the 5% increment rule correctly, but there is no test case for that.
Explanation:
Write a test for it.
Fix:
Use this formula in all tests for subsequent bids.
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.