Core Contracts

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

GaugeController cannot be paused

Summary

GaugeController cannot be paused

Vulnerability Details

In pause fn, the fn checks if paused is true, then sets the contact is false. By default the contact is pause = false and will cause the pausing to never work:

function setEmergencyPause(bool paused) external {
if (!hasRole(EMERGENCY_ADMIN, msg.sender)) revert UnauthorizedCaller();
if (paused) { // <-
_pause();
} else {
_unpause();
}
emit EmergencyPauseUpdated(paused);
}

Impact

GaugeController cannot be paused for emergencies

Tools Used

Manual review

Recommendations

Updates

Lead Judging Commences

inallhonesty Lead Judge 4 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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