Skip to content

Bug: Unable to send UserOp - No custom network client was found with the ID "user-operation" #190

@marvinmarnold

Description

@marvinmarnold

After installing snap-account-abstraction-keyring, unable to send ETH from AA account created by the snap via the MetaMask extension UI. Transaction immediately displays as failed in MetaMask, but no userop is actually sent.

Image

When inspecting offscreen.html, an error is visible: "Uncaught (in promise) Error: No custom network client was found with the ID "user-operation"."

Image

I added debugging print statements and confirmed that prepareUserOperation completes successfully. Then execution seems to leave context of snap-account-abstraction-keyring and the error comes from somewhere else.

Tested with the following versions and the same error appears in all:

Chain configuration:

  • Account factory: 0xBfc0acf30682F2d1A8594B61100b6ccb64302c05
  • Entrypoint: 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789
  • Bundler: Pimlico
  • Verifying paymaster: Empty

@ccharly please and thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions