Skip to content

Conversation

@thaarok
Copy link

@thaarok thaarok commented Jul 30, 2025

The eth_estimateUserOperationGas currently fails with following error, when sending UserOp for an account, which is without code yet, the code is going to be set by EIP-7702 in the same tx:

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "message": "FailedOp(0,\"AA20 account not deployed\")",
        "code": -32500
    }
}

To fix this, I propagate the authorizationList into the simulationRpcParams.

Avoids:
eth_estimateUserOperationGas:
{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "message": "FailedOp(0,\"AA20 account not deployed\")",
        "code": -32500
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant