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

[QA] Technical information is displayed in the "insufficient funds" warning #2775

Open
tsadovska opened this issue Oct 1, 2024 · 1 comment
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement design UX related p1 Important issue

Comments

@tsadovska
Copy link
Collaborator

Describe the current behavior in detail

Checked on wormhole-connect-mainnet and https://portalbridge.com/.

Steps:

  1. Prepare to swap max amount of ETH (in my case, 0.00385) from Ethereum (MetaMask) to Base (MetaMask)
  2. Select Mayan MCTP route
  3. Click on "Review transaction" button
  4. Click on "Confirm transaction" button
  5. Check "Insufficient funds" warning

Actual result: Technical information is displayed in the warning.
Expected result: Warning is short and clear.

Notes/ Attachments

Warning:
insufficient funds (transaction={ "chainId": "0x1", "data": "0xfa74fd43000000000000000000000000000000000000000000000000000dad8dfa62a000000000000000000000000000111111125421ca6dc452d289314280a0f8842a6500000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000098d236000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c0000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000040807ed2379000000000000000000000000e37e799d5077682fa0a244d46e5649f71457bd09000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000e37e799d5077682fa0a244d46e5649f71457bd090000000000000000000000000654874eb7f59c6f5b39931fc45dc45337c967c3000000000000000000000000000000000000000000000000000dad8dfa62a000000000000000000000000000000000000000000000000000000000000091e8de0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a7586871f228833ba653110d069a1348e7046c4db78da3078aa8e2397f26c9ab470f23000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000099965b000000000000000000000000000000000000000000000000000dad8dfa62a000000000000000000000000000000001a6660066fbf45c0000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041c456ddd4987ac3848f522fb2413eabcbcdde36759ecfcdddab166ab3deef3e0d42f24bfc700cae71cb1695b89ffced4b5e51d22a0c8609824823262c472bdce31c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000000000000000001ea79a4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4afd9b706000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000dad8dfa62a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009631288f4050f7cfbf77b77f8540decf6cfc7012000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049b610000000000000000000000000000000000000000000000000000000066fc05f900000000000000000000000000000000000000000000000000000000001d1eaf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c00000000000000000000000000000000000000000000000000000000", "from": "0x9631288f4050f7cfbf77b77f8540decf6cfc7012", "to": "0x0654874eb7f59c6f5b39931fc45dc45337c967c3", "value": "0xdad8dfa62a000" }, info={ "error": { "code": -32000, "message": "failed with 30000000 gas: insufficient funds for gas * price + value: address 0x9631288F4050F7CFbf77B77f8540DeCF6cfC7012 have 3849675388816893 want 3850000000000000" }, "payload": { "id": 11, "jsonrpc": "2.0", "method": "eth_estimateGas", "params": [ { "chainId": "0x1", "data": "0xfa74fd43000000000000000000000000000000000000000000000000000dad8dfa62a000000000000000000000000000111111125421ca6dc452d289314280a0f8842a6500000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000000000098d236000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c0000000000000000000000000000000000000000000000000000000000000520000000000000000000000000000000000000000000000000000000000000040807ed2379000000000000000000000000e37e799d5077682fa0a244d46e5649f71457bd09000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000e37e799d5077682fa0a244d46e5649f71457bd090000000000000000000000000654874eb7f59c6f5b39931fc45dc45337c967c3000000000000000000000000000000000000000000000000000dad8dfa62a000000000000000000000000000000000000000000000000000000000000091e8de0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002a800000000000000000000000000000000000000000000000000028a00001a4041c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2d0e30db05120111111125421ca6dc452d289314280a0f8842a65c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2012456a7586871f228833ba653110d069a1348e7046c4db78da3078aa8e2397f26c9ab470f23000000000000000000000000807cf9a772d5a3f9cefbc1192e939d62f0d9bd380000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000099965b000000000000000000000000000000000000000000000000000dad8dfa62a000000000000000000000000000000001a6660066fbf45c0000000000000000000000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000041c456ddd4987ac3848f522fb2413eabcbcdde36759ecfcdddab166ab3deef3e0d42f24bfc700cae71cb1695b89ffced4b5e51d22a0c8609824823262c472bdce31c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014111111125421ca6dc452d289314280a0f8842a650000000000000000000000000000000000000000000000000000000000000000000000001ea79a4f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4afd9b706000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000000000000000000000000000000dad8dfa62a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009631288f4050f7cfbf77b77f8540decf6cfc7012000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000049b610000000000000000000000000000000000000000000000000000000066fc05f900000000000000000000000000000000000000000000000000000000001d1eaf000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c000000000000000000000000f18f923480dc144326e6c65d4f3d47aa459bb41c00000000000000000000000000000000000000000000000000000000"

image

@tsadovska tsadovska added design UX related p1 Important issue connect v2 Tickets that relate to the full redesign+sdkv2 replacement labels Oct 1, 2024
@Wesleyleung
Copy link
Collaborator

Is this still happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connect v2 Tickets that relate to the full redesign+sdkv2 replacement design UX related p1 Important issue
Projects
None yet
Development

No branches or pull requests

2 participants