AA41 too little verificationGas
AA41 too little verificationGas is an ERC-4337 EntryPoint error that means the smart account's validateUserOp function used more gas than the user operation's verificationGasLimit.
The amount of gas used by the smart account verification exceeded the verificationGasLimit set for the user operation.
Possible solutions
- Verify that the
verificationGasLimitset for the user operation is high enough to cover the gas used during smart account'svalidateUserOpfunction. - If you are using the
eth_estimateUserOperationGasorpm_sponsorUserOperationmethod from bundler provider like Pimlico to set user operation gas limits and the EntryPoint throws this error during submission, reach out to them. - If all else fails, investigate why the smart account's
validateUserOpfunction used more gas than expected using tools like Tenderly.