Uh oh!
There was an error while loading. Please reload this page.
Implement resetConnection method in network controller - #1131
Conversation
Uh oh!
There was an error while loading. Please reload this page.
5b8b7bc to
00ed357CompareThere 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.
mcmire
commented
Mar 21, 2023
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
5edb863Compare
mcmire
left a comment
There was a problem hiding this comment.
This is getting there! Just a few more changes needed.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
95d242e to
53fab33Compare078de49 to
4104f40Compare
mcmire
left a comment
There was a problem hiding this comment.
Two nits, but I'm happy with this!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This PR adds a resetConnection method.
Related issue #1023