XLabs / wormscan-ui

5 stars 3 forks source link

[Bug] Explorer Link Does Not Update to Current Chain on Transaction Search #629

Open SamantaCasal opened 3 months ago

SamantaCasal commented 3 months ago

Description:

There is an issue where the transaction hash (txhash) link does not update correctly when searching for a new transaction across different blockchain networks. Specifically, the base URL of the explorer link remains set to the explorer for the last viewed page rather than updating to the current chain's explorer.

Steps to Reproduce:

  1. Go to https://wormholescan.io/#/txs
  2. Select one transaction on the list
  3. Click on txHash link
  4. Paste a txHash from a chain other than the current transaction in the search bar
  5. Click on txHash link
  6. Observe the Chain Explorer

Actual Result:

The txhash link still points to the previous network's explorer, the network of the previously viewed transaction.

Evidence

https://github.com/XLabs/wormscan-ui/assets/69044575/52362a55-d1e6-4030-8c56-c7293e2739fb