The RAACMinter contract hardcodes BLOCKS_PER_DAY to 7200 assuming a 12-second block time, which is specific to Ethereum mainnet. This assumption breaks emission rate calculations on other chains with different block times, leading to incorrect token distribution rates.
The contract uses BLOCKS_PER_DAY in critical emission rate calculations:
The issue manifests in several ways:
Different Block Times:
Ethereum: ~12 seconds (7200 blocks/day)
BSC: ~3 seconds (28800 blocks/day)
Polygon: ~2 seconds (43200 blocks/day)
Avalanche: ~2 seconds (43200 blocks/day)
Emission Rate Impact: For a target of 1000 RAAC per day:
This dramatically accelerates token distribution and depletes supply faster than designed on chains other than ethereum
Manual Review
Replace the block-based calculations with time-based calculations:
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.