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
79 stars 59 forks source link

[QA] Transaction fails with "TransactionExpiredBlockheightExceededError" #2327

Closed tsadovska closed 1 month ago

tsadovska commented 2 months ago

Describe the current behavior in detail

Checked on wormhole-connect-mainnet with macOS Sonoma 14.5 and Google Chrome Version 127.0.6533.89 (Official Build) (arm64).

Transaction fails with "TransactionExpiredBlockheightExceededError" when sending 0.000013 W from Solana (Phantom) to Optimism (MetaMask) with Native Token Transfer Manual Route.

Wormhole Connect: error completing transfer TransactionExpiredBlockheightExceededError: Signature Qatk4ziioqvGcf5mdb5pe4TfdjXGz9yjFNJ9QzyeCL2LWmBokkfz17H1Fufr5etiGv5V5ZniuFHpwFessmUZoHy has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (main-B_vQ2Uks.js:262:58561)
    at async Connection$1.confirmTransaction (main-B_vQ2Uks.js:262:56499) 

image

Custom config

{
  env: 'mainnet',
  useRedesign: true,
  tokensConfig: {
    Wsolana: {
      key: 'Wsolana',
      symbol: 'W',
      nativeChain: 'solana',
      tokenId: {
        chain: 'solana',
        address: '85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ',
      },
      icon: 'https://assets.coingecko.com/coins/images/35087/standard/womrhole_logo_full_color_rgb_2000px_72ppi_fb766ac85a.png?1708688954',
      coinGeckoId: 'wormhole',
      decimals: {
        default: 6,
      },
    },
    Wethereum: {
      key: 'Wethereum',
      symbol: 'W',
      nativeChain: 'ethereum',
      tokenId: {
        chain: 'ethereum',
        address: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
      },
      icon: 'https://assets.coingecko.com/coins/images/35087/standard/womrhole_logo_full_color_rgb_2000px_72ppi_fb766ac85a.png?1708688954',
      coinGeckoId: 'wormhole',
      decimals: {
        default: 18,
      },
    },
    Warbitrum: {
      key: 'Warbitrum',
      symbol: 'W',
      nativeChain: 'arbitrum',
      tokenId: {
        chain: 'arbitrum',
        address: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
      },
      icon: 'https://assets.coingecko.com/coins/images/35087/standard/womrhole_logo_full_color_rgb_2000px_72ppi_fb766ac85a.png?1708688954',
      coinGeckoId: 'wormhole',
      decimals: {
        default: 18,
      },
    },
    Woptimism: {
      key: 'Woptimism',
      symbol: 'W',
      nativeChain: 'optimism',
      tokenId: {
        chain: 'optimism',
        address: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
      },
      icon: 'https://assets.coingecko.com/coins/images/35087/standard/womrhole_logo_full_color_rgb_2000px_72ppi_fb766ac85a.png?1708688954',
      coinGeckoId: 'wormhole',
      decimals: {
        default: 18,
      },
    },
    Wbase: {
      key: 'Wbase',
      symbol: 'W',
      nativeChain: 'base',
      tokenId: {
        chain: 'base',
        address: '0xB0fFa8000886e57F86dd5264b9582b2Ad87b2b91',
      },
      icon: 'https://assets.coingecko.com/coins/images/35087/standard/womrhole_logo_full_color_rgb_2000px_72ppi_fb766ac85a.png?1708688954',
      coinGeckoId: 'wormhole',
      decimals: {
        default: 18,
      },
    },
  },
  nttGroups: {
    W: {
      nttManagers: [
        {
          chainName: 'solana',
          address: 'NTtAaoDJhkeHeaVUHnyhwbPNAN6WgBpHkHBTc6d7vLK',
          tokenKey: 'Wsolana',
          transceivers: [
            {
              address: 'NTtAaoDJhkeHeaVUHnyhwbPNAN6WgBpHkHBTc6d7vLK',
              type: 'wormhole',
            },
          ],
          solanaQuoter: 'Nqd6XqA8LbsCuG8MLWWuP865NV6jR1MbXeKxD4HLKDJ',
        },
        {
          chainName: 'ethereum',
          address: '0xc072B1AEf336eDde59A049699Ef4e8Fa9D594A48',
          tokenKey: 'Wethereum',
          transceivers: [
            {
              address: '0xDb55492d7190D1baE8ACbE03911C4E3E7426870c',
              type: 'wormhole',
            },
          ],
        },
        {
          chainName: 'arbitrum',
          address: '0x5333d0AcA64a450Add6FeF76D6D1375F726CB484',
          tokenKey: 'Warbitrum',
          transceivers: [
            {
              address: '0xD1a8AB69e00266e8B791a15BC47514153A5045a6',
              type: 'wormhole',
            },
          ],
        },
        {
          chainName: 'optimism',
          address: '0x1a4F1a790f23Ffb9772966cB6F36dCd658033e13',
          tokenKey: 'Woptimism',
          transceivers: [
            {
              address: '0x9bD8b7b527CA4e6738cBDaBdF51C22466756073d',
              type: 'wormhole',
            },
          ],
        },
        {
          chainName: 'base',
          address: '0x5333d0AcA64a450Add6FeF76D6D1375F726CB484',
          tokenKey: 'Wbase',
          transceivers: [
            {
              address: '0xD1a8AB69e00266e8B791a15BC47514153A5045a6',
              type: 'wormhole',
            },
          ],
        },
      ],
    },
  },
}
tsadovska commented 2 months ago

Issue is also reproducible when sending asset with Native Token Transfer Automatic route. Scenario checked: Send 0.0001 W from Solana (Phantom) to Arbitrum (MetaMask). Verified on wormhole-connect-mainnet.

image

agodlevska commented 1 month ago

Issue reproducible on wormhole-connect-mainnet (connect v2).

Sending 0,009 SOL from Solana (Solflare) to Base -> ETH (MetaMask).

Errors:

TransactionExpiredBlockheightExceededError: Signature 2qDH1kFMWJa76RuQEXztyBgeZGbVM44xjZt5qXCDnCpdHyRJbgNP6s4Q4kdFFfA1LJXFaMRAUuEQGDYUEMyBaD1B has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (main-fsMuFuvz.js:266:53685)
    at async Connection$1.confirmTransaction (main-fsMuFuvz.js:266:51623)
Wormhole Connect: error completing transfer TransactionExpiredBlockheightExceededError: Signature 2qDH1kFMWJa76RuQEXztyBgeZGbVM44xjZt5qXCDnCpdHyRJbgNP6s4Q4kdFFfA1LJXFaMRAUuEQGDYUEMyBaD1B has expired: block height exceeded.
    at Connection$1.confirmTransactionUsingBlockHeightExceedanceStrategy (main-fsMuFuvz.js:266:53685)
    at async Connection$1.confirmTransaction (main-fsMuFuvz.js:266:51623)

Attachment:

Screenshot 2024-08-28 at 15 44 12
tsadovska commented 1 month ago

Issue is not reproducible on wormhole-connect-mainnet. Checked following scenarios:

Closing the ticket.