Uh oh!
There was an error while loading. Please reload this page.
add rollbackToPreviousProvider method - #1132
Conversation
3492ae6 to
ae2603dCompareUh 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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
f659097 to
479e349Comparecc23734 to
b0f9743Compare
mcmire
left a comment
There was a problem hiding this comment.
This is looking good! Just a few comments
There was a problem hiding this comment.
Nice! Yeah this is much better.
There was a problem hiding this comment.
Thoughts on making this a function instead of a const? I believe this will enforce that this is JSDoc'd as well.
Uh oh!
There was an error while loading. Please reload this page.
ceb710d to
49b5222Compareadonesky1
commented
Mar 21, 2023
1500a6e to
8061393Compare
mcmire
left a comment
There was a problem hiding this comment.
One small thing, but other than that, good to go.
| @@ -1,5 +1,6 @@ | |||
| /* eslint-disable jest/require-top-level-describe, jest/no-export, jest/no-identical-title, jest/no-if */ | |||
| import { NetworkType } from '@metamask/controller-utils/src'; | |||
There was a problem hiding this comment.
Are we exporting this type from controller-utils? If so, I think we can drop the /src.
There was a problem hiding this comment.
oh... weird not sure how that happened!
ADDED:
rollbackToPreviousProvidermethod like the one that exists on the extension sideNetworkControllerResolves#1024