Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relay transaction when connected with Metamask wallet fails #573

Open
danielsimao opened this issue Oct 30, 2023 · 0 comments
Open

Relay transaction when connected with Metamask wallet fails #573

danielsimao opened this issue Oct 30, 2023 · 0 comments

Comments

@danielsimao
Copy link

danielsimao commented Oct 30, 2023

Description

I'm trying to implement account abstraction using your auth-kit and so on + GelatoRelayPack. For this implementation I followed 100% the code that you have in the demo app https://safe-account-abstraction-demo.netlify.app/.

When authenticating with web3auth everything goes smoothly and I'm able to do transactions. When I connect with metamask and try to conduct a transaction I get the following error:

MetaMask - RPC Error: execution reverted
{
    "code": -32603,
    "message": "execution reverted",
    "data": {
        "originalError": {
            "code": 3,
            "data": "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000002524000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
            "message": "execution reverted"
        }
    }
}

The metamask is still prompted to sign the transaction but it leads to failure.

I go over you demo app (https://safe-account-abstraction-demo.netlify.app/) to try the same thing, using my metamask wallet and I have exactly the same issue.

image

Same metamask error is displayed in the console before even signing the transaction.

Environment

Just follow safe demo app https://safe-account-abstraction-demo.netlify.app/

Steps to reproduce

  • go to relay kit section
  • click transfer

Expected result

Expected the transaction to be successful

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

No branches or pull requests

1 participant