MetaMask / MetaMask/metamask-extension

Add network: "Expected 1-6 character string 'nativeCurrency.symbol'."

Open
#30,607 0 comments 0 reactions 0 assignees View on GitHub
external-contributor INVALID-ISSUE-TEMPLATE
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

code: -32602
message: "Expected 1-6 character string 'nativeCurrency.symbol'."

Can the character length be increased?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the network-add validation error for nativeCurrency.symbol and locate the validation entry point in the TypeScript codebase. Clarify the intended maximum length before changing it; done means a supported longer symbol is accepted without the -32602 error and existing validation behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.