Note: OOG = “Out Of Gas”
validateUserOp function encountered an issue:
- It may have reverted unexpectedly
- It may have exhausted its gas allocation
Troubleshooting Steps
-
Gas Limit Check:
- Increase the
verificationGasLimitto covervalidateUserOpcosts, if it is less.
- Increase the
-
Logic Verification:
- Review
validateUserOpimplementation - Confirm the user operation’s validity
- Review
-
For Non-Paymaster Scenarios:
- Verify sufficient native tokens in the
senderaddress:
- Verify sufficient native tokens in the
-
For Paymaster Usage: - Ensure paymasterAndData is properly set:
-
Signature Verification:
- Ensure your implementation doesn’t revert for invalid signatures
- For non-time-sensitive operations, return
uint(1)for invalid signatures
-
Advanced Debugging:
- Utilize tools like Tenderly for in-depth analysis