wormhole-foundation / wormhole-connect

Wormhole Connect brings all the functionality and utility of Wormhole right into your application and removes all of the complexity.
https://connect-in-style.wormhole.com/
Other
70 stars 48 forks source link

[QA] "Destination chain gas estimate" value differs from gas estimate in MetaMask - ETH (Arbitrum)/ ETH (Optimism)/ ETH (Base) #1837

Open tsadovska opened 3 months ago

tsadovska commented 3 months ago

Describe the current behavior in detail

Checked on https://preview.portalbridge.com/b05f4e9322/ [Mainnet] with macOS and Google Chrome.

Steps:

  1. Prepare to send 0.001 USDC (Solana) from Solana (Bitget) to Arbitrum (MetaMask)
  2. Check "Destination chain gas estimate" value in Preview section
  3. Click on "Approve and proceed with transaction" button
  4. Check gas estimate in MetaMask notification

Actual result:

Transaction details:

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/57d0b3c5-8d21-4c5e-b20b-9cd17418a42b

What is the expected/desired behavior

Gas estimate on wormhole-connect/ Portal Bridge is similar to gas estimate in MetaMask notification.

tsadovska commented 3 months ago

Issue is also reproducible when sending 0.0001 USDC (Solana) from Solana (Bitget) to Optimism (MetaMask).

image

tsadovska commented 3 months ago

issue is reproducible on https://preview.portalbridge.com/b05f4e9322/ [Mainnet] with 0.0001 USDC (Solana) from Solana (Phantom) to Base (MetaMask).

image

tsadovska commented 3 months ago

Reproducible on https://preview.portalbridge.com/8228d00809/ [Mainnet] (v0.2.12-Pbd3e3109b6) when sending tBTC from Base (MetaMask) to Arbitrum (MetaMask).

tsadovska commented 2 months ago

Reproducible on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] when sending 0.0001 tBTC from Ethereum (MetaMask) to Optimism (MetaMask).

tsadovska commented 1 month ago

Reproducible on https://preview.portalbridge.com/bceadc8c64/ [Mainnet] with Manual Bridge route when sending 0.0001 WMATIC from Scroll (MetaMask) to Base (MetaMask).