XLabs / wormscan-ui

5 stars 3 forks source link

[BUG] Unable to Add Token to MetaMask When Target Chain is Blast or Scroll #678

Open SamantaCasal opened 1 month ago

SamantaCasal commented 1 month ago

Description:

Users are unable to add tokens to MetaMask when the target chain is set to Blast. An error is displayed in the console instead of the token being added successfully.

Steps to Reproduce:

  1. Go to Wormhole Transaction Scanner
  2. Filter by "Blast or Scroll" as the target chain.
  3. Select a transaction.
  4. Navigate to the transaction detail view.
  5. Click on "Add to MetaMask".

Expected Behavior:

The token should be added successfully to MetaMask without any issues.

Actual Behavior:

A console error appears, and the token is not added to MetaMask.

Console Error:

https://github.com/XLabs/wormscan-ui/assets/69044575/6613e34d-c934-4ae8-bdb3-ac7fdf00bd89

Image

Image

SamantaCasal commented 1 month ago

QA OK!

https://github.com/XLabs/wormscan-ui/assets/69044575/1cd160eb-cfb1-4ea5-98c4-5db3cf69c958