You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Explanation
The current state of the network nickname mappings does not fully align
with the naming conventions used by third-party providers, leading to
potential inconsistencies and confusion. Specifically, the names
"Mainnet" and "Linea Mainnet" do not match the standard conventions of
"Ethereum Mainnet" and "Linea." Updating these nicknames helps ensure
clarity and consistency across platforms.
The proposed changes standardize the network names by updating `Mainnet`
to `Ethereum Mainnet` and `Linea Mainnet` to `Linea`. This provides
better alignment with widely accepted naming conventions, making it
easier for consumers to understand and trust the network names
displayed.
## References
This change aligns the network names with conventions used by
third-party providers for Ethereum mainnet and Linea mainnet.
- Related to #67890
## Changelog
### `@metamask/controller-utils`
- **CHANGED**: Updated network nickname for `Mainnet` to `Ethereum
Mainnet` to standardize with third-party naming.
- **CHANGED**: Updated network nickname for `Linea Mainnet` to `Linea`
for consistency.
### `@metamask/network-controller`
- **CHANGED**: Updated network nickname for `Mainnet` to `Ethereum
Mainnet` to pass the unit tests.
## Checklist
- [x] I've updated the test suite for new or updated code as
appropriate.
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate.
- [ ] I've highlighted breaking changes using the "BREAKING" category
above as appropriate.
- [ ] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes.
Co-authored-by: cryptodev-2s <109512101+cryptodev-2s@users.noreply.github.com>
0 commit comments