hyperlane-xyz / hyperlane-warp-ui-template

A web app template for building Hyperlane Warp Route UIs
https://hyperlane-warp-template.vercel.app
Other
126 stars 103 forks source link

False Positive Tick Mark for Failed Transactions in Bridge History #193

Closed sneaky4050 closed 3 months ago

sneaky4050 commented 3 months ago

Issue Description After a transaction fails on the bridge, the transaction history still shows a tick mark indicating a successful transaction.

Steps to Reproduce:

  1. Initiate a transaction on the bridge.
  2. Ensure the transaction fails ( beacause I selected the max TIAN token of Neutron Chain I forget to left some token to use as gas fee).
  3. Check the bridge history and observe the tick mark.

Expected Behavior:
The history should accurately reflect the status of the transaction. If a transaction fails, it should show a failure status (e.g., a cross mark or an error symbol) instead of a tick mark.

Screenshot 2024-06-21 150449 Screenshot 2024-06-21 150525

Link ( https://www.mintscan.io/neutron/tx/EEADD7ADD119461913B2A82E30BCEC68A4024DEC9BDC5C24C1CE85C61674B403 )

Additional Information:

Suggestion:

To address this issue, I think it would be beneficial to:

-Double-check the transaction status from the backend or blockchain before updating the UI to make sure it reflects the actual outcome. -Improve error handling so that failed transactions show a clear failure status (maybe a cross mark or an error icon) instead of a tick mark. -Update the UI to make it easier to differentiate between successful and failed transactions with different colors or icons. -Provide users with more detailed notifications when a transaction fails, explaining what went wrong and how they can fix it. -Ensure thorough testing to confirm that the issue is resolved and the transaction history is accurate. ThankYou