MetaMask / MetaMask/metamask-extension

[Bug]: Issues observed while import of several custom tokens

Open
#45,471 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triage regression-RC-13.44.0 type-bug
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Describe the bug

Token Import Observations:

A. BOB::
Unable to Import token:

  • Avalon Avalon SOLVBTCBBN -- Symbol too long (14 chars, max 11)
  • Ether -- Token address is all zeros (invalid)
  • Hybrid Bitcoin -- Symbol too long (16 chars, max 11)

B. Etherlink Mainnet::
Logo Issue:

  • SOGNI -- No image element found in UI (token may not be visible)
  • CNDY -- No image element found in UI (token may not be visible)

C. Injective::

  • Logo not displaying for stINJ, Wrapped INJ, Bitcoin Silver, Procter & Gamble Company, yINJ

D. Rootstock Mainnet::
Unable to import below tokens:

  • RNS, INV, rRFOX due to : This token is an NFT. Add on the Import NFT page
  • Logo not displaying for stRIF,Wrapped RBTC on RSK

E. Matchain::

No logoURI in tokenlist not accessible for below tokens:

  • LaughingOutLoud,Business Alliance Coin,Miner Drop,DONOTFOMO,Matchain x PSG Points,FireGhost,OverMatch,MAT Token,Staked MAT, INCASWAP

F. Apechain:

Logo validation failing as its having URI like:

  • ”logoURI”: "BASE_URL/assets/bidx500.jpg",

G. Berachain:
Token Import failing due to below error:

  • BERA-- Token address is all zeros (invalid)
  • pumpBTC.bera-- Symbol too long (12 chars, max 11)
  • KODI WBERA-POLLEN -- Symbol too long (17 chars, max 11)
  • HyperBERA.USDC--Symbol too long (14 chars, max 11)
  • IV-WASABEE-4-WBERA-wgBERA-- Symbol too long (25 chars, max 11)
  • IV-WASABEE-3-WBERA-iBERA --Symbol too long (24 chars, max 11)
  • KODI iBERA-osBGT --Symbol too long (16 chars, max 11)
  • KODI yBGT-yBERA -- Symbol too long (15 chars, max 11)
  • KODI brBTC-uniBTC--Symbol too long (17 chars, max 11)
  • primeLiquidBeraBTC--Symbol too long (18 chars, max 11)
  • primeLiquidBeraETH--Symbol too long (18 chars, max 11)
  • satSolvBTC.BERA--Symbol too long (15 chars, max 11)
  • STICKY eWBERA-4-wgBERA--Symbol too long (22 chars, max 11)
  • STICKY NECT-HONEY--Symbol too long (17 chars, max 11)
  • KODI avUSD-HONEY--Symbol too long (16 chars, max 11)
Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

Verify import of the mentioned custom tokens.

Error messages or log output

Where was this bug found?

Internal release testing

Version

13.44.0

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the listed custom-token imports in the token import flow on version 13.44.0, covering the named networks and the symbol, address, NFT, and logo cases. Compare the observed failures with the expected import and display behavior; done means the reported tokens either import and show logos correctly or receive the intended validation outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.