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

Add handling for MetaMask TransactionExecutionError #463

Open
ebma opened this issue Feb 7, 2025 · 0 comments
Open

Add handling for MetaMask TransactionExecutionError #463

ebma opened this issue Feb 7, 2025 · 0 comments
Labels
type:bug Something isn't working

Comments

@ebma
Copy link
Member

ebma commented Feb 7, 2025

Context

Recently, a user encountered the following error when trying to sign the second transaction to transfer calls with Squidrouter. The previous transaction to approve the transfer worked fine.

TransactionExecutionError: An internal error was received.\n\nRequest Arguments:\n  from:   0xAf734fcb8232ABb0495173Ff900f45F4c7901a84\n  to:     0xce16F69375520ab01377ce7B88f5BA8C48F8D666\n  value:  0.000044064932153443 ETH\n  data:   0x2147796000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000135d32f800000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000af734fcb8232abb0495173ff900f45f4c7901a8400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000004555344430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084d6f6f6e6265616d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a3078636531364636393337353532306162303133373763653742383866354241384334384638443636360000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000af734fcb8232abb0495173ff900f45f4c7901a8400000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000ca01a1d0993565291051daff390892518acfad3a0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ca01a1d0993565291051daff390892518acfad3a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044095ea7b30000000000000000000000002ab52086e8edab28193172209407ff9df1103cdc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000ca01a1d0993565291051daff390892518acfad3a000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000002ab52086e8edab28193172209407ff9df1103cdc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000044f955ea3816828a871716f28bfaece9e22c7fb8bb869e31db73ba8cda1ca1b3a650209aa60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000ca01a1d0993565291051daff390892518acfad3a0000000000000000000000000000000000000000000000000000000000000001ac1e1a193b47a06dc56aa0a44f79dd62\n  gas:    520000\n\nDetails: Request of type 'smartTransaction:showSmartTransactionStatusPage' already pending for origin chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/. Please wait.\nVersion: [email protected]

It seems like this is a known bug with MetaMask, see MetaMask/metamask-extension#28518.

TODO

  • Apparently this issue was mitigated in MetaMask version 12.9.2, see this comment. We should reach out to the user and ask which version of the MetaMask extension was used.
  • Alternatively, we can add extra handling and check for the specific wording in the details of the error.
@ebma ebma added the type:bug Something isn't working label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant