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
81 stars 64 forks source link

[QA] Warning "No associated token account" does not disappear after token account is created #1829

Closed tsadovska closed 3 weeks ago

tsadovska commented 7 months ago

Describe the current behavior in detail

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

Preconditions:

Steps:

  1. Prepare to send 0.0011 USDC (Arbitrum) from Arbitrum (MetaMask) to Solana (Coin98)
  2. Click on "Create account" link
  3. Wait 60 seconds
  4. Check if TransactionExpiredTimeoutError appears in Console
  5. Click on "Create account" link again if account is not created
  6. Check if warning "No associated token account exists for your wallet on Solana. You must create it before proceeding." is still displayed when account is created.

Actual result: Warning does not disappear. Issue is reproducible only when token creation fails at first attempt with TransactionExpiredTimeoutError.

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/bd5f7b81-0b16-49f1-8896-16305f37b34b

What is the expected/desired behavior

Warning "No associated token account exists for your wallet on Solana. You must create it before proceeding." is no longer displayed after account is created.

tsadovska commented 7 months ago

Issue is also reproducible on https://deploy-preview-1846--wormhole-connect-mainnet.netlify.app/ with Solflare wallet.

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/9bcf52d9-1342-4cb1-8b39-80cb92cd0058

tsadovska commented 5 months ago

Inconsistent issue, issue was reproducible only once on https://deploy-preview-2113--wormhole-connect-mainnet.netlify.app/ [Mainnet]. "No associated token account" warning does not disappear during PYTH asset registration for transaction Polygon (MetaMask) -> Solana (Backpack).

https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/98e53c08-688c-46da-8d7c-9987d2c30c1e