AA23 reverted (or OOG)
The validateUserOp
function of the smart account either reverted or ran out of gas.
Possible solutions
- Verify that the
verificationGasLimit
is high enough to cover thevalidateUserOp
function's gas costs. - Verify that the
validateUserOp
function is implemented with the correct logic, and that the user operation is supposed to be valid. - Make sure the signature verification logic of the smart account is implemented correctly. Namely, correct implementations should not revert when the signature is invalid. If you are not looking to use neither time-based signatures nor a signature aggregator, you should simply return
uint(1)
for invalid signatures in thevalidateUserOp
function. - If all else fails, investigate why the
validateUserOp
function reverted using tools like Tenderly.