Core Contracts

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

`BaseGauge::setEmission` can only decrease the `emission` amount, limiting future periods

Summary

The BaseGauge::setEmission function only allows the emission to be decreased because of the following check:

if (emission > periodState.emission) revert RewardCapExceeded();

Vulnerability Details

The function doesn't implement any checks to ensure a minimum threshold or even if the emissionparam is zero.

Impact

The emission can be reduced over time and become too small for the next rounds. Or even can be set to zero and causes a DoS.

Tools Used

Code Review

Recommendations

Consider adding a minimum threshold to limit the reduction or even allow increasing the emission according to conditions.

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Design choice
inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Design choice

Appeal created

inallhonesty Lead Judge 6 months ago
Submission Judgement Published
Validated
Assigned finding tags:

BaseGuage::setEmission can be configured only to lower values limiting the

Support

FAQs

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

Give us feedback!