AA23 reverted (or OOG)
The validateUserOp function of the smart account either reverted or ran out of gas.
Possible solutions
- Verify that the
verificationGasLimitis high enough to cover thevalidateUserOpfunction's gas costs. - Verify that the
validateUserOpfunction 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 thevalidateUserOpfunction. - If all else fails, investigate why the
validateUserOpfunction reverted using tools like Tenderly.