XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
25 stars 38 forks source link

[bug] "Need more gas" section should not be displayed on Confirm transaction screen when sending WSOL to Solana #1133

Open tsadovska opened 1 month ago

tsadovska commented 1 month ago

Is there an existing issue for this?

Current Behavior

"Need more gas on Solana" section is displayed on Confirm transaction screen when sending WSOL from Polygon to Solana with Automatic route. "Additional Gas" value does not change when moving the slider.

https://github.com/user-attachments/assets/85d09271-6ba6-4464-862f-4516aa263e79

Expected Behavior

"Need more gas on Solana" section is not displayed.

Issue is not reproducible on https://wormhole-connect-mainnet.netlify.app/.

https://github.com/user-attachments/assets/aba319f9-8e3b-4863-9cbe-53d26972bfdb

Steps To Reproduce

  1. Open https://portalbridge.com/
  2. Prepare to send 0.01 WSOL from Polygon (MetaMask) to Solana (Phantom)
  3. Select Automatic route option
  4. Click on "Review transaction" button
  5. Check if "Need more gas on Solana" section is displayed

Environment

- OS: macOS Sonoma 14.5
- Wallet: MetaMask, Phantom
- Browser: Google Chrome Version 129.0.6668.100 (Official Build) (arm64)

Anything else?

No response