Should return VALIDATION_FAILED
when install validator module in Module Enable Mode flow.
when validateUserOp() is called by EntryPoint, if Module Enable Mode is not used, protocol will first check if the validator is enabled, and return VALIDATION_FAILED
if not.
If Module Enable Mode is used, then protocol will try to install the validator, but transaction will revert (in onInstall()
) if it fails to do so. Apparently there is inconsistency in between, because this also means the validator is not enabled and protocol should return VALIDATION_FAILED
instead.
VALIDATION_FAILED
is not returned to EntryPoint when it should be.
Manual Review
If protocol fails to install validator in Module Enable Mode flow, do not revert but return VALIDATION_FAILED
.
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.