Core Contracts

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

Unintended behaviour because of Executed operation can again and again Re-schedule in scheduleEmergencyAction function

Summary

In TimelockController.sol because of Executed operation can again and again Re-schedule in scheduleEmergencyAction function. That will disrupt the functionality.

Vulnerability Details

/**
* @notice Schedules an emergency action
* @dev Only callable by addresses with EMERGENCY_ROLE
* @param id Operation ID for the emergency action
*/
function scheduleEmergencyAction(bytes32 id) external onlyRole(EMERGENCY_ROLE) {
@>>> There should be a check point . That will check is that Operation Id is executed before or not .
_emergencyActions[id] = true;
emit EmergencyActionScheduled(id, block.timestamp);
}

Impact

Increase Gas cost and lead to miscalculation.

Tools Used

manual review

Recommendations

There should be a check point . That will check is that Operation Id is executed before or not .

Updates

Lead Judging Commences

inallhonesty Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
inallhonesty Lead Judge 5 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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