RAACMinter assumes BLOCKS_PER_DAY
to be 7200 based on a calculation of 12-second block time. While this may be true for Ethereum chain, other L1 EVM-compatible chains are not the same. For example, Avalance (AVAX) chain has 2 second block time (not necessarily consistent).
Since critical value of emission rate is calculated based on BLOCKS_PER_DAY
, this can result in 6x more tokens being minted than intended due to the calculation inside tick():
and
Instead of having BLOCKS_PER_DAY
as a constant, initialize it inside the constructor based off param passed during deployment so that it can be configured on a chain-to-chain basis.
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.