core
core copied to clipboard
[network-controller] Validate that selected network state is recognized
Add validation to ensure that the selected network state (providerConfig) is either a built-in network or matching a custom network configuration.
This would allow us to simplify the controller by removing all logic related to handling unrecognized provider configuration state.
It would probably be easier to do #1462 before this
Is this relevant anymore now that providerConfig has been removed?
Closing since we removed providerConfig. (Although for what it's worth, we do have a similar validation now.)