Implement resetConnection method in network controller#1131
Implement resetConnection method in network controller#1131cryptodev-2s merged 4 commits intomainfrom
Conversation
5b8b7bc to
00ed357
Compare
There was a problem hiding this comment.
We should add tests for resetConnection. We have existing tests for this on the extension side here: https://github.com/MetaMask/metamask-extension/blob/b9f00ba5365cf92429c45f4ad05ced7373f726f5/app/scripts/controllers/network/network-controller.test.js#L3535. Note, however, that due to the differences in implementation between the extension and core versions of the network controller as well as the network controller tests, you will probably have to make some modifications to these tests when bringing them over.
|
By the way, @cryptodev-2s, if you use "Fixes" instead of "Related issue" in your PR description, it will associate this PR with the original issue and when you merge this PR it will close the associated issue automatically. Otherwise we have to go back later and manually close issues. |
|
We still ought to have tests for the |
c35f242 to
5edb863
Compare
mcmire
left a comment
There was a problem hiding this comment.
This is getting there! Just a few more changes needed.
95d242e to
53fab33
Compare
078de49 to
4104f40
Compare
mcmire
left a comment
There was a problem hiding this comment.
Two nits, but I'm happy with this!
* implement reset connection in network controller
* implement reset connection in network controller
This PR adds a resetConnection method.
Related issue #1023