CHRISTMAS_2023_BLOCK_TIME is a fixed constant equal to a December 2023 instant. The collectPresent time gate checks block.timestamp < CHRISTMAS_2023_BLOCK_TIME, which is permanently false now, so the intended "not callable until Christmas" restriction no longer exists.
Likelihood: Low
The timing logic itself is correct; the issue is the hardcoded constant has already elapsed. Whether this matters depends on intent, but the effect is that the gate is now unconditionally satisfied.
Impact: Low
The time-lock provides no protection on any current deployment, so present collection is always open regardless of date. If the design depended on holding collection until a future event, that control is absent.
Collection succeeds at the current block time with no warp into the future.
Use a configurable or clearly future date, or document that the gate is intentionally inert.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.