RAACMinter::emergencyShutdown should be called by the EMERGENCY_SHUTDOWN_ROLE instead it is called by the DEFAULT_ADMIN_ROLE.
RAACMinter establishes the roles to do specific execution of functions or other operations dependent on the role. SLOC#50-52.
Examining the Code, it is critical function on the contract that is used for the emergencyShutdown or Instant Pause (Emergency shutdown function to pause the critical functions.) SLOC#357-364. If we look at the function RAACMinter::emergencyShutdown SLOC#357-364 it is called by the DEFAULT_ADMIN_ROLE instead of the EMERGENCY_SHUTDOWN_ROLE.
Function Should be Called by the Role but the Role Used here is not Suitable for the execution of the function. If the contract Already Decide to provided role for the emergency operations then EMERGENCY_SHUTDOWN_ROLE should execute the operations instead of the DEFAULT_ADMIN_ROLE.
Manual Review
In RAACMinter::constructor add this.
and change role in the function.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.