You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
For most chains, the TransfersStatusModal shows a Timeline widget
Desired behavior:
Two improvements are needed:
The individual segments of the timeline should clickable external links to the corresponding transaction on the target chain's block explorer (example tx page.
The results from the useMessageTimeline hook (see Timeline in TransfersStatusModal) should be cached when the message is confirmed to be delivered so we don't re-request that data each time.
The timeline is no longer in use but the useRecipientBalanceWatcher hook watches for increases in the recipient's balance and then pops a toast. However this solution was just a stop-gap and it doesn't work if the user clears the form. A better solution for be for the app to watch all pending transfers in a component higher than the TransferTokenForm
State of Transaction
Timeline Widget
Current behavior:
For most chains, the
TransfersStatusModal
shows a Timeline widgetDesired behavior:
Two improvements are needed:
useMessageTimeline
hook (seeTimeline
inTransfersStatusModal
) should be cached when the message is confirmed to be delivered so we don't re-request that data each time.Item 1 will require changes to the timeline widget, which is in a separate repo here:
https://github.com/hyperlane-xyz/hyperlane-widgets - we may want to move this into monorepo
Use the
multiProvider
's method to get the explorer tx link.The text was updated successfully, but these errors were encountered: