core icon indicating copy to clipboard operation
core copied to clipboard

NetworkController: Remove `setActive` option from `upsertNetworkConfiguration`

Open mcmire opened this issue 2 years ago • 0 comments

There are too many methods that can be used to switch networks, and as a result we have a LOT of tests for NetworkController. It is not difficult for consumers to call setActiveNetwork after calling upsertNetworkConfiguration if they wish to switch to a newly added or updated network. Therefore to minimize the test suite, we should remove this option from upsertNetworkConfiguration.

mcmire avatar Apr 22 '23 02:04 mcmire