This repository was archived by the owner on Oct 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Error "AA20 account not deployed" when sending a UserOp with SimpleAccount (Quickstart example) #130
Copy link
Copy link
Open
Description
I'm currently using [email protected] with ethers ethClient
and walletClient
(with viem it is able to build the UserOp)
I'm trying to run the quickstart example from the documentation but it throws the following error when executing both .buildUserOperation()
and .sendUserOperation()
:
Error: could not coalesce error (error={ "code": -32500, "data": { "OpIndex": 0, "Reason": "AA20 account not deployed" }, "message": "AA20 account not deployed" }, payload={ "id": 23, "jsonrpc": "2.0", "method": "eth_estimateUserOperationGas", "params": [ { "callData": "0xb61d27f60000000000000000000000008d5434ca348f8c0b61e2ab9fc1e7119a16b81cdc000000000000000000000000000000000000000000000000000000e8d4a5100000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000", "callGasLimit": "0x0", "initCode": "0x", "maxFeePerGas": "0xad4adef18", "maxPriorityFeePerGas": "0x3b9aca00", "nonce": "0x0", "paymasterAndData": "0x", "preVerificationGas": "0x0", "sender": "0x2EC95999f509f3F50C977A0D38135276dF00e81C", "signature": "0x48b0982cbf4a28aac976f3ec8270abcf5292b4ebf0814c5aec2944f98d157b555a27003469643c375c7c2f9d3e7e77a2e8993eba7f148ee97d22689363b8f8e41c", "verificationGasLimit": "0x0" }, "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789" ] }, code=UNKNOWN_ERROR, version=6.12.2)
at makeError (/workspaces/aa-wallet/core/node_modules/ethers/src.ts/utils/errors.ts:694:21)
at JsonRpcProvider.getRpcError (/workspaces/aa-wallet/core/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:1059:25)
at /workspaces/aa-wallet/core/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts:563:45
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'UNKNOWN_ERROR',
error: {
code: -32500,
data: { OpIndex: 0, Reason: 'AA20 account not deployed' },
message: 'AA20 account not deployed'
},
payload: {
method: 'eth_estimateUserOperationGas',
params: [ [Object], '0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789' ],
id: 23,
jsonrpc: '2.0'
},
shortMessage: 'could not coalesce error'
Metadata
Metadata
Assignees
Labels
No labels