#41758 [SC-Insight] The code comment to `BOOSTRAP_PHASE_DURATION` is incorrect
Was this helpful?
Was this helpful?
Submitted on Mar 18th 2025 at 06:20:12 UTC by @h2134 for
Report ID: #41758
Report Type: Smart Contract
Report severity: Insight
Target: https://github.com/immunefi-team/audit-comp-yeet/blob/main/src/Yeet.sol
Impacts:
The code comment to BOOSTRAP_PHASE_DURATION
is incorrect.
The code comment to BOOSTRAP_PHASE_DURATION
is as below:
This comment is incorrect as BOOSTRAP_PHASE_DURATION
is the duration of bootstrap phrase, not the time between rounds.
We believe the code comment is wrongly copied from COOLDOWN_TIME
.
Incorrect documentation.
https://github.com/immunefi-team/audit-comp-yeet/blob/da15231cdefd8f385fcdb85c27258b5f0d0cc270/src/Yeet.sol#L106
This comment is incorrect as BOOSTRAP_PHASE_DURATION
is the duration of bootstrap phrase, not the time between rounds.