Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Gas network symbol #1417

Open
tiagofilipenunes opened this issue Aug 9, 2024 · 0 comments
Open

[Refactor] Gas network symbol #1417

tiagofilipenunes opened this issue Aug 9, 2024 · 0 comments

Comments

@tiagofilipenunes
Copy link
Collaborator

When adding a network using wallet_addEthereumChain, MetaMask expects a gas network symbol to have a length between 2 and 6 characters.

To allow new networks to be added on CELO, which uses a symbol longer than the 6 characters, any parenthesis and content from the symbol string are removed, and its length is limited to 6 characters. This issue is to refactor this implementation and improve the way the config symbol is used to add new networks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant