Open tsadovska opened 4 months ago
Issue is reproducible on https://wormhole-connect-mainnet.netlify.app/ when sending 0.0003 wstETH (Optimism) from Optimism (MetaMask) to Arbitrum (MetaMask).
Arbitrum explorer link opens result "Oops! An invalid Txn hash has been entered: 73c013ff53226ea3436ad9f56799ca00b845653f2bf6f08bd5a4d349fe73d286" https://arbiscan.io/tx/73c013ff53226ea3436ad9f56799ca00b845653f2bf6f08bd5a4d349fe73d286 instead of https://arbiscan.io/tx/0x73c013ff53226ea3436ad9f56799ca00b845653f2bf6f08bd5a4d349fe73d286.
Send from tx: https://optimistic.etherscan.io/tx/0x2164fd439409672f8dc37fa09199612fc1730b03fa2c57b9b351c16c039e8bb6 Link to Wormholescan: https://wormholescan.io/#/tx/0x2164fd439409672f8dc37fa09199612fc1730b03fa2c57b9b351c16c039e8bb6
Think this happens when the TX hash is fetched from wormholescan and is not normalized with the 0x
prefix
Reproducible on https://deploy-preview-2143--wormhole-connect-mainnet.netlify.app/ [Mainnet] when sending 0.0015 ETH from Ethereum (MetaMask) to Arbitrum (MetaMask).
Reproducible on https://preview.portalbridge.com/2c6f665417/ [Mainnet] when sending 0.0001 WETH (Polygon) from Polygon (MetaMask) to Arbitrum (MetaMask).
Reproducible on https://preview.portalbridge.com/8b6491733c/ [Mainnet] when sending 0.001 ETH (Ethereum) from Ethereum (MetaMask) to Arbitrum (MetaMask).
Reproducible on https://preview.portalbridge.com/3365c86aff/ when sending 1 USDT from Optimism (MetaMask) to Arbitrum (MetaMask).
Reproducible on https://preview.portalbridge.com/b3b7091778/ when sending 0.0001 ETH from Ethereum (MetaMask) to Arbitrum (MetaMask).
Describe the current behavior in detail
Checked on https://wormhole-connect-mainnet.netlify.app/ [Mainnet] with macOS and Google Chrome.
Steps:
Actual result: Arbitrum explorer link opens result "Oops! An invalid Txn hash has been entered: 69235afe48783af90f4d31c50efdc880da86d1993fc86acbb0557936de942a2b". Link https://arbiscan.io/tx/69235afe48783af90f4d31c50efdc880da86d1993fc86acbb0557936de942a2b
Correct link is https://arbiscan.io/tx/0x69235afe48783af90f4d31c50efdc880da86d1993fc86acbb0557936de942a2b
Error:
https://github.com/wormhole-foundation/wormhole-connect/assets/10746654/2b10d01e-7935-4bed-aec4-0356c136210c
What is the expected/desired behavior
Link to "Arbitrum explorer" opens transaction details page.