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
77 stars 56 forks source link

[QA] [Mainnet] Cannot send asset from OKX Wallet (Cosmos) #1547

Closed tsadovska closed 7 months ago

tsadovska commented 7 months ago

Describe the current behavior in detail

Reproducible on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] and https://preview.portal-bridge-ui.pages.dev/c0216a7edf/ [Mainnet] with macOS and Google Chrome.

Steps:

  1. Prepare to send 0.01 WGLMR from Kujira (OKX Wallet) to Avalanche (Metamask)
  2. Click "Approve and proceed with transaction" button

Error:

Error: Broadcasting transaction failed with code 5 (codespace: sdk). Log: spendable balance 100000ukuji is smaller than 1000000ukuji: insufficient funds: insufficient funds
    at Pr.broadcastTxSync (main.js:350:110730)
    at async Pr.broadcastTx (main.js:350:110477)
    at async CosmosWallet.sendTransaction (main.js:399:94791)
    at async CosmosWallet.signAndSendTransaction (main.js:399:94998)
    at async signCosmosTransaction (main.js:519:15417)
    at async signAndSendTransaction (main.js:519:16077)
    at async Operator.send (main.js:525:79299)
    at async Object.gr [as onClick] (main.js:691:95817) 

image

Notes: Issue is also reproducible when:

Issue is not reproducible when

What is the expected/desired behavior

Transaction proceeds without errors.

tsadovska commented 7 months ago

Issue is also reproducible on https://preview.portal-bridge-ui.pages.dev/ac97e9d348/ [Mainnet] when sending 0.0001 Kujira (OKX Wallet Cosmos) to Evmos (Leap).

Error: Broadcasting transaction failed with code 5 (codespace: sdk). Log: spendable balance 100000ukuji is smaller than 1000000ukuji: insufficient funds: insufficient funds
    at Pr.broadcastTxSync (main.js:350:110730)
    at async Pr.broadcastTx (main.js:350:110477)
    at async CosmosWallet.sendTransaction (main.js:399:94791)
    at async CosmosWallet.signAndSendTransaction (main.js:399:94998)
    at async signCosmosTransaction (main.js:519:15417)
    at async signAndSendTransaction (main.js:519:16077)
    at async Operator.send (main.js:525:79512)
    at async Object.gr [as onClick] (main.js:691:95817)

image

AigaD commented 7 months ago

Closing. I believe more KUJI asset was needed to be added for gas fee. Tested from: https://portalbridge.com/# Transaction 0.001 WFTM from Kujira (OKX Wallet) to Osmosis (Leap) tested OK. Attachment:

Screenshot 2024-01-30 at 17 25 47

Tested from: https://wormhole-connect-mainnet.netlify.app/# Transaction 0.01 WGLMR from Kujira (OKX Wallet) to Avalanche (Metamask) tested OK.

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/a675607c-af75-4efc-aa69-609c949abd9d