AA24 signature error
The validateUserOp
function of the smart account rejected the signature of the user operation.
Possible solutions
- Verify that the user operation was correctly signed, and that the signature was correctly encoded in the
signature
field of the user operation.- Most smart account implementations sign over the
userOpHash
. Make sure that theuserOpHash
is correctly computed. Consider leveraging functions likegetUserOperationHash
fromviem/account-abstraction
. - Make sure you have selected the correct
chainId
andentryPointAddress
when computing theuserOpHash
. - Make sure the smart account signature verification function is correctly implemented.
- Most smart account implementations sign over the
- If all else fails, investigate why the
validateUserOp
function rejected the user operation signature using tools like Tenderly.