The ChainTypeManager
admin is unable to call revertBatchesSharedBridge
in the Executor facet because the function is restricted by the onlyValidator
modifier instead of onlyChainTypeManager
.
According to ChainTypeManagerdoc#Emergency upgrade
section in zksync doc:
Executor
facet has revertBatchesSharedBridge
function which revert batches:
However, the function is restricted by the onlyValidator
modifier, requiring the caller to be a validator to execute it. This contradicts the intended behavior as outlined in the documentation.
The ChainTypeManager is unable to call revertBatchesSharedBridge
in emergency situations as specified in the documentation.
Manual Review
Use onlyValidatorOrChainTypeManager
modifier instead of onlyValidator
:
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.