EPOCH_DURATION should used instead of "1 weeks"
https://github.com/Cyfrin/2024-08-fjord/blob/main/src/FjordPoints.sol#L245
uint256 public constant EPOCH_DURATION = 1 weeks;
EPOCH_DURATION is "1 weeks" in FjordPoints.sol, maybe one day, code will change to another value, such as 4 weeks, then function distributePoints() will action abnomally.
if EPOCH_DURATION is not "1 weeks", function distributePoints() will action abnomally.
manually reviewed
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.