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
78 stars 57 forks source link

[Bug] UI errors attempting to transfer wstETH from BSC to Eth Multisig #2241

Open tonyjin opened 2 months ago

tonyjin commented 2 months ago

Description and context

The UI shows "Error with transfer, please try again" while attempting to transfer wstETH from BSC to an Eth Safe Multisig. When you look at the transactions actually submitted by the wallet, the transactions seem to be going through.

Steps to reproduce

  1. Set up a transfer of wstETH from a BSC EOA to an Eth Safe multisig.
  2. Initiate the transfer, which triggers a token approval signature.
  3. Sign the transaction and notice the "Error with transfer, please try again":

    pb-index-CiHkcnmS.js:742 Wormhole Connect: error completing transfer {code: -32000, message: 'transaction indexing is in progress', data: 'transaction indexing is in progress'}

  4. Click the "Approve and proceed with the transaction" button and notice that the same error message shows, although the actual transaction seems to be successful:

    pb-index-CiHkcnmS.js:742 Wormhole Connect: error completing transfer {code: -32000, message: 'transaction indexing is in progress', data: 'transaction indexing is in progress'}

Screenshot 2024-07-09 at 4 44 24 PM

  1. If you go to "Resume transaction" and enter in the transfer txn, you will get to a successful transaction screen: Screenshot 2024-07-09 at 4 46 12 PM

Successful txns:

Solution recommendation

Neither the BSC token allowance approval nor the attempted transfer should show an error message, and the UI should progress to the transaction in progress screen.

tsadovska commented 1 month ago

Can reproduce this issue on https://portalbridge.com/ [Mainnet]. Redeem screen does not open for transaction that is in progress. Checked the same scenario that is mentioned in the description: 0.00001 wstETH transfer from BSC (Rabby, EOA) to Ethereum (WalletConnect, Safe{Wallet} multisig app on iPhone).

Error was shown on the screen, but transaction was completed successfully.

https://github.com/user-attachments/assets/a3ab5956-ef80-4256-b12c-895fcbc479ea

mliu-xlabs commented 1 month ago

https://www.notion.so/wormholefoundation/Manual-Address-Input-Spec-de2d405de0d14e87800bb4dd04b7d948?pvs=4