-
-
Notifications
You must be signed in to change notification settings - Fork 255
fix: update monad testnet network client id #7333
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
base: main
Are you sure you want to change the base?
Conversation
|
@metamaskbot publish-preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new Infura-specific network identifier monad-testnet-infura to properly distinguish the Monad testnet when accessed through Infura from the generic testnet configuration. The original monad-testnet identifier has been moved to CustomNetworkType with a deprecation notice.
Key Changes
- Added
monad-testnet-infuratoInfuraNetworkTypeand removedmonad-testnetfrom it - Created comprehensive network configuration for
monad-testnet-infuraacross all network-related mappings - Maintained backward compatibility by keeping deprecated
monad-testnetinCustomNetworkType
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/controller-utils/src/types.ts | Added monad-testnet-infura to InfuraNetworkType; added MonadTestnetInfura to BuiltInNetworkName enum; added corresponding entries in ChainId, NetworksTicker, BlockExplorerUrl, and NetworkNickname mappings |
| packages/controller-utils/src/constants.ts | Added monad-testnet-infura configuration to BUILT_IN_NETWORKS with appropriate chain ID, ticker, and block explorer settings |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
|
@metamaskbot publish-preview |
|
Preview builds have been published. See these instructions for more information about preview builds. Expand for full list of packages and versions. |
Explanation
This PR adds a new Infura-specific network identifier
monad-testnet-infurato properly distinguish the Monad testnet when accessed through Infura from the generic testnet configuration.Key Changes
References
Checklist