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][Mainnet]Cannot create associated account for transaction to Solana #1687

Closed AigaD closed 5 months ago

AigaD commented 8 months ago

Preconditions: Rabby wallet connected at sending From section Backpack wallet connected at sending To section Console is opened

Environment: MacBook Pro, macOS Ventura 13.0.1, Chrome Version 121.0.6167.85

Tested from: https://wormhole-connect-mainnet.netlify.app/# - Tested NOK https://wormhole-connect.netlify.app/ - Tested NOK

Steps:

  1. Prepare to send 0.01 GLMR from Moonbeam to Solana
  2. Observe that associated account has to be created
  3. Click on Create account
  4. Observe

Actual result: Create account is loading for a long time eventually failing with error TransactionExpiredTimeoutError: Transaction was not confirmed in 60.00 seconds. It is unknown if it succeeded or failed.

Expected result: Associated account is created

Attachment:

Screenshot 2024-02-20 at 09 33 21

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/3a1f03a5-9ea8-45cd-aee8-e3c0ca80b415

AigaD commented 8 months ago

Tested from: https://wormhole-connect-mainnet.netlify.app/# Failing to create associated account for transaction USDT from Osmosis (Leap) to Solana (Phantom) Account creation fails with reason main.js:499 TransactionExpiredTimeoutError: Transaction was not confirmed in 60.00 seconds. and if trying to click again on Create account, the button is not reacting.

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/d4351a2e-2319-41da-ba0b-cc88e0a6a796

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/7d147982-1b5a-48c4-b20d-bc902ceaff90

bangjelkoski commented 8 months ago

Any luck resolving this?

tsadovska commented 8 months ago

Issue is reproducible on https://portalbridge.com/ [Mainnet] when sending USDC (Avalanche) from Evmos (Leap) to Solana (Phantom).

Error after clicking on "Create account" link:

TransactionExpiredTimeoutError: Transaction was not confirmed in 60.00 seconds. It is unknown if it succeeded or failed. Check signature 65jaYtYc4sQsuEoo3zptSCB1voXDhKbTjeQbxu32JuRTypK5b8JTXacfRvQ2CyPorFXcKb1F6Hw9qYdBFLKopACH using the Solana Explorer or CLI tools.
    at Connection$1.confirmTransactionUsingLegacyTimeoutStrategy (main.js:171:61258)
    at async Connection$1.confirmTransaction (main.js:171:56700)
    at async O.sendTransaction (solana-mxqvqbiT.js:1:40048)
    at async Ie (solana-mxqvqbiT.js:1:48158)
    at async signAndSendTransaction (main.js:322:774354)
    at async Object.createAssociatedTokenAccount (main.js:499:168808)
    at async sn (main.js:499:166852)

image

AigaD commented 8 months ago

Reproduced from: https://deploy-preview-1795--wormhole-connect-mainnet.netlify.app/# Cannot create associated account after transaction timeout error is shown and user again tries to create account. After it seems that user has failed to create associated account, is user refreshes the page and fills in the fields with the same assets as before, Create associated account is no longer shown Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/5049a6d4-9d16-4e7b-9e71-8b4f6bc63e81

tsadovska commented 8 months ago

Reproducible on https://deploy-preview-1795--wormhole-connect-mainnet.netlify.app/ [Mainnet] when 0.0001 WSOL from Injective (Leap) to Solana (Clover).

Error after clicking on "create account" link:

WalletSendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 1: custom program error: 0x1
    at Ht.sendTransaction (solana-3Sa-HcsX.js:1:6027)
    at async O.sendTransaction (solana-3Sa-HcsX.js:1:39962)
    at async Ie (solana-3Sa-HcsX.js:1:48158)
    at async signAndSendTransaction (main.js:322:777245)
    at async Object.createAssociatedTokenAccount (main.js:522:168007)
    at async sn (main.js:522:166051)

image

AigaD commented 7 months ago

Tested from: https://deploy-preview-1274--wormhole-connect-mainnet.netlify.app/# Creating associated account for transaction USDC from Avalanche/Arbitrum/Base to Solana (new account Phantom) fails, reason WalletSendTransactionError: Unexpected error Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/3a9e96cf-e8a2-4819-885a-90544c4b0187

Screenshot 2024-03-20 at 18 54 24
Eiei070922 commented 7 months ago

Hello, I'm Thidarat. I'd like to apologize to the team for what I didn't study before coming to play crypto. In the case of transactions on etherscan, I didn't know that the transactions belonged to other people. I understand that the page I opened. It's my wallet code. I have asked the GitHub team for advice regarding transactions or other matters but there has been no response. I understand some English but if I press copy I think it's mine but I've never taken it anywhere. Everything is still there. As for tokens, I have no knowledge about them at all. As for stocks, I don't have any knowledge, so I did it without them. I never intended to use it as my own. I just learned on YouTube that I used etherscan lately because I hadn't verified my identity and just came to read about its use later. Because I saw a lot of rules and usage, and I couldn't even read English well, I skipped what I had to do and was just careful. I didn't think of taking anything as my own. But if you do it unintentionally and don't understand the language and have no knowledge about crypto at all, I'm completely innocent because I didn't do anything wrong, but I may have misunderstood and not read the language well enough. So I did the wrong thing unintentionally.

AigaD commented 7 months ago

Tested from: https://preview.portalbridge.com/b05f4e9322/ Account creating shows as failed, reason TransactionExpiredTimeoutError: Transaction was not confirmed in 60.00 seconds., but after refreshing the page and entering the same values message to create associated account is no longer shown.

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/7d13ace7-09b2-4662-8407-61b9aa2ec605

Screenshot 2024-03-25 at 09 07 21
AigaD commented 7 months ago

Tested from: https://portalbridge.com/ User is able to create associated account for transaction to Solana. Issue no longer reproduced, if issue will reappear ticket will be re-opened. Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/369b3cca-b07c-44e0-a6a1-352063f66890

AigaD commented 7 months ago

Re-opening the ticket. Tested from: https://preview.portalbridge.com/8228d00809/# Associated token account creation failed, reason TransactionExpiredTimeoutError: Transaction was not confirmed in 60.00 seconds. Linking to ticket https://github.com/wormhole-foundation/wormhole-connect/issues/1689

Attachment:

Screenshot 2024-04-02 at 12 20 40
AigaD commented 5 months ago

Tested from: https://deploy-preview-2113--wormhole-connect-mainnet.netlify.app/# Creating account failed TransactionExpiredTimeoutError: Transaction was not confirmed in 60.00 seconds. for transaction DAI from Base (Metamask) to Solana (Bitget) Attachment:

Screenshot 2024-05-23 at 11 16 04
tsadovska commented 5 months ago

Checked on https://wormhole-connect-mainnet.netlify.app/ [Mainnet]:

Ticket is closed.