The contract hardcodes the number of blocks per day (BLOCKS_PER_DAY = 7200), assuming a fixed block time across all chains. However, different blockchain networks have varying block times, making this assumption incorrect and potentially leading to incorrect time-dependent calculations.
The contract uses BLOCKS_PER_DAY = 7200, assuming a block time of 12 seconds.
When deployed on networks with different block times, this results in miscalculated time-dependent operations.
Any function relying on BLOCKS_PER_DAY for time-based logic (e.g., staking durations, reward distributions, time locks) will execute at incorrect intervals.
Incorrect timing: Functions dependent on BLOCKS_PER_DAY will trigger too early or too late on chains with different block times.
Manual code review
Protocol should ensure accurate time calculations across multiple blockchain networks.
Known issue LightChaser M12
Known issue LightChaser M12
Known issue LightChaser M12
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.