Pause, unpause and _requireNotPaused are not set correctly in PriorityPool. Current implementation is not effective meaning they don't do what they are supposed to do.
According to openzeppelin:
This module is used through inheritance. It will make available the
modifiers whenNotPaused and whenPaused, which can be applied to
the functions of your contract. Note that they will not be pausable by
simply including this module, only once the modifiers are put in place.
*/
You can see these implementations will not do what they are supposed to do because of incorrect implementation. They are not set up correctly according to the openzeppelin docs. This would be a high security issue since circuit breakers will not work in emergency situations.
withdrawals, deposits and other calls will happen when the protocol should be paused. Current implementation means they will be bypassed in emergency situations which is not intended.
Manual Review
Add the modifiers and set them correctly
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.