Relay transaction when connected with Metamask wallet fails
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.
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