feat: ctrl-utils add 4 networks infura #7875
Draft
+34
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


Explanation
avalanche-mainnettoInfuraNetworkTypemonad-mainnettoInfuraNetworkTypehyperevm-mainnettoInfuraNetworkTypemegaeth-mainnettoInfuraNetworkTypeReferences
Related to: https://consensyssoftware.atlassian.net/browse/NEB-496?atlOrigin=eyJpIjoiOWI0NjhlODE2NDdkNDNiOGEwMjdmMzcwYTY4OTI0MzEiLCJwIjoiaiJ9
Checklist
Note
Low Risk
Constant/type expansions only; risk is limited to consumers relying on exhaustive network lists or switch statements needing to handle the new values.
Overview
Adds support for four additional Infura networks in
@metamask/controller-utils:avalanche-mainnet,monad-mainnet,hyperevm-mainnet, andmegaeth-mainnet.Updates
src/types.tsto include these networks acrossInfuraNetworkType,BuiltInNetworkName,ChainId,NetworksTicker,BlockExplorerUrl, andNetworkNickname, and documents the addition in the package changelog.Written by Cursor Bugbot for commit 7b839a8. This will update automatically on new commits. Configure here.