Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: medium
Invalid

Assuming block time is the same across different chains will cause emission issues

Summary

The BLOCKS_PER_DAY is wrongly implemented and can cause over/under emission.

Vulnerability Details

The BLOCKS_PER_DAY assumes a constant 12-second block time across all supported chains. However, this assumption is incorrect, as block times vary between networks.

For example, Optimism and Base have a 2-second block time, while Arbitrum has an even lower block time. This discrepancy can lead to unintended variations in daily emissions.

Refer to this site for block timing of different chains

Impact

Over or under emission of tokens depending on the chains:

Tools Used

Manual review

Recommendations

Make it to be chain specifics so that an intended amount will be emitted .

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 month ago
Submission Judgement Published
Validated
Assigned finding tags:

RAACMinter hardcoded BLOCKS_PER_DAY breaks cross-chain compatibility with variable token emission rates

Known issue LightChaser M12

inallhonesty Lead Judge about 1 month ago
Submission Judgement Published
Validated
Assigned finding tags:

RAACMinter hardcoded BLOCKS_PER_DAY breaks cross-chain compatibility with variable token emission rates

Known issue LightChaser M12

Appeal created

inallhonesty Lead Judge 24 days ago
Submission Judgement Published
Invalidated
Reason: Design choice
Assigned finding tags:

RAACMinter hardcoded BLOCKS_PER_DAY breaks cross-chain compatibility with variable token emission rates

Known issue LightChaser M12

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.