Core Contracts

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

Rewards emissions cannot be increased but only decreased

Summary

Setting rewards emissions in the Gauge contracts can only be decreased and not increased.

Vulnerability Details

Admins can set rewards emissions in the gauge contracts to change them:

function setEmission(uint256 emission) external onlyController {
if (emission > periodState.emission) revert RewardCapExceeded();
periodState.emission = emission;
emit EmissionUpdated(emission);
}

But in the current implementation, emissions can only be decreased and not increased by any amounts.

Impact

Reward emissions cannot be increased but only decreased.

Tools Used

Manual Review

Recommendations

Allow for increasing emissions as well for flexibility.

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!