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
82 stars 63 forks source link

[QA] "TransactionExpiredBlockheightExceededError" when claiming on Solana #1754

Open tsadovska opened 7 months ago

tsadovska commented 7 months ago

Describe the current behavior in detail

Checked on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] with macOS and Google Chrome.

Steps:

  1. Open Menu > Resume transaction
  2. Search for transaction hash 0x8fe969223c0d22f147a66ff396bd31dbd9b100ea9fefb6a2162f7300be9b12cc (BSC)
  3. Click on "Claim" button
  4. Check if transaction has completed

Actual result: Transaction fails.

Error:

TransactionExpiredBlockheightExceededError: Signature 4juVGPp4Yn669kAbSHU7GfQP2yFNPHGrjf9QG54u7sBTJb41h6ShPg4jQNURvcY9LN9d2hTxg1tC7ro6bfRCNx8x has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (main.js:171:58907)
    at async Connection$1.confirmTransaction (main.js:171:56831)

image

What is the expected/desired behavior

Asset is successfully claimed.

AigaD commented 7 months ago

Reproduced from: https://preview.portalbridge.com/# Transaction 0.001 WSOL from Arbitrum to Solana (Backpack) fails at Claim WalletSendTransactionError: 30 second timeout: unable to confirm transaction

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/e2711da1-9d8a-4561-bdac-393f36550b32

Screenshot 2024-03-11 at 15 55 23

AigaD commented 7 months ago

Reproduced from: https://preview.portalbridge.com/b1ba6e856a/# TransactionExpiredBlockheightExceededError: error is shown when clicking Claim on Solana for transaction 0.0001 WAVAX from Injective (Leap) to Solana (Solflare) Attachment:

Screenshot 2024-03-12 at 13 22 19

AigaD commented 7 months ago

Tested from: https://deploy-preview-1795--wormhole-connect-mainnet.netlify.app/# Transaction APT from Aptos (Nightly) to Solana (Solflare) failed at Claim multiple times, reason TransactionExpiredBlockheightExceededError: Signature zCe3BnpwQs26GLaXFCUWC38XLX3aCFhPf8jCcfrzvnZiZp21Y9XPipxLY6UncneXKptsb8Y2YFYHo1tjk2hWPRL has expired: block height exceeded.

AigaD commented 7 months ago

Reproduced from: https://preview.portalbridge.com/b05f4e9322/# Claiming on Solana fails TransactionExpiredBlockheightExceededError: Signature 4wBUXa7eUUmQMJQ4vcwL4c8YcyAtoKosiYbqNRQpYXKKiXKGYzqyQFg9dX65JwxwuuS4Wi764xZmbj4hyK42DfQh has expired: block height exceeded. Attachment:

Screenshot 2024-03-20 at 10 21 02
tsadovska commented 7 months ago

Results with Solflare wallet on https://preview.portalbridge.com/b05f4e9322/ [Mainnet].

Claim fails with TransactionExpiredBlockheightExceededError. Tried 3 times to approve Solflare notification.

TransactionExpiredBlockheightExceededError: Signature 21WTXP1Ci7vVsPih7fsTQQvy91yyokE1MsKUmRVCv7kt3KDrvbHRC23ACws26pjUBDoY2ghcbQ8em7MyTM6QnQAk has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (pb-index-DsRyVLaa.js:339:58907)
    at async Connection$1.confirmTransaction (pb-index-DsRyVLaa.js:339:56831)
    at async sendAndConfirmTransactionsWithRetry (pb-index-DsRyVLaa.js:487:91554)
    at async postVaaWithRetry (pb-index-DsRyVLaa.js:490:628972)
    at async postVaa (pb-index-DsRyVLaa.js:490:772008)
    at async BridgeRoute.redeem (pb-index-DsRyVLaa.js:494:22857)
    at async Operator.redeem (pb-index-DsRyVLaa.js:496:83271)
    at async Object.Ao [as onClick] (pb-index-DsRyVLaa.js:716:1112)

Screenshot 2024-03-26 at 16 20 35

AigaD commented 7 months ago

Tested from: https://portalbridge.com/ Transaction 0.001 WSOL from Klaytn (Metamask) to Solana (Phantom) is not completing. Tried to confirm transaction 4 times, console shows TransactionExpiredBlockheightExceededError: Signature 2m9JjMvgaF9hUgh756E2nPKozGHrEc2xMk1uCi8gK1v95354U3wngBca5tUyG8anRCEW9qKL93dC5fU3nJMRBLcQ has expired: block height exceeded. but the transaction is not failing, Phantom wallet pop-ups to confirm the transaction shows approximately in 3-5 min Attachment:

Screenshot 2024-03-26 at 16 51 17
AigaD commented 7 months ago

Closing the ticket, issue has not been reproduced. Transactions to Solana will be monitored and ticket re-opened if the issue reoccurs Tested from: https://portalbridge.com/

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/6a8e1eeb-8a9f-496c-944b-7facd7de1bdc

Tested from: https://wormhole-connect-mainnet.netlify.app/# Transaction 0.1 FTM from Fantom to Solana (Phantom) was completed without issues Warning message was shown at Phantom wallet pop-up that is reported here https://github.com/wormhole-foundation/wormhole-connect/issues/1707

Attachment:

Screenshot 2024-03-27 at 12 27 51

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/ea781a4b-f927-44c5-bff8-b5e86b650e67

AigaD commented 5 months ago

Re-opening ticket. Reproduced from: https://preview.portalbridge.com/3064c36d95/# When sending 0.001 USDC (Base) from Blast (Metamask) to Solana (Solflare) transaction fails at Claim TransactionExpiredBlockheightExceededError: Signature 3Jgm8i5B6y8jLZST7WVWZcf6WM4SuPx4o1cDzCJhDT3cudhq6X2DnLiNnJtjokbXZNkMs3Wx3fj7HZsBSNTjtNGP has expired: block height exceeded. Attachment:

Screenshot 2024-05-13 at 18 10 35
tsadovska commented 4 months ago

Issue is reproducible on https://deploy-preview-2153--wormhole-connect-mainnet.netlify.app/ [Mainnet] when sending WSOL from Celo (MetaMask) to Solana (Phantom).

TransactionExpiredBlockheightExceededError: Signature MJXcsEYDnaaUDfgLAZboFgjW5tDA4ccUFrmr8xMWpN8YYoPD7tafbyNkNwu3zWZUUsvj7iJjBPUzXqhXFQxbWiJ has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (main-DJhNbBqY.js:344:59065)
    at async Connection$1.confirmTransaction (main-DJhNbBqY.js:344:56989)

image

The transaction proceeded successfully after approving the Phantom notifications.

image

tsadovska commented 4 months ago

Issue is no longer reproducible on https://wormhole-connect-mainnet.netlify.app/ [Mainnet]. Checked following scenarios:

Ticket is closed.

agodlevska commented 1 month ago

Issue is reproducible on https://preview.portalbridge.com/712d941311/ when sending USDC from Sui (Sui) to Solana (Phantom).

TransactionExpiredBlockheightExceededError: Signature 2QvPgNv6v6xkgfZyT5PtWJyuqunKP2qTMsEWwKewR9ZB82dcZqvHHzcH7xBnqhomw7iacQgyZhQVjg5FXjBUio48 has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (pb-index-lWqu3ugb.js:302:53705)
    at async Connection$1.confirmTransaction (pb-index-lWqu3ugb.js:302:51637)

Attachment:

Screenshot 2024-09-26 at 17 43 48
tsadovska commented 1 day ago

Issue is reproducible on Netlify with following config when sending 0.001 SOL from Solana (Phantom) to Base (MetaMask) with Automatic route.

Issue has low reproducibility level.

Wormhole Connect: error completing transfer TransactionExpiredBlockheightExceededError: Signature 3PXZoctBp2nFPc3QiCgSqaLbs4WGJQVk2MENEuGs6QGfU4dKFVGzp5qhAjzsFr7HzrRoAfP3QT6YJ7u9t3QAyDCo has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (main-Caub6XFs.js:312:53692)
    at async Connection$1.confirmTransaction (main-Caub6XFs.js:312:51630)

image