-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make both callback and messaging system options for TokenListController
& GasFeeController
when listening to NetworkController
#932
Conversation
TokenListController
& GasFeeController
when listening to NetworkController
TokenListController
& GasFeeController
when listening to NetworkControllerTokenListController
& GasFeeController
when listening to NetworkController
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good once a test has been added for the gas fee controller changes!
5dd4cf6
to
6d87362
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
We talked on Slack and decided to postpone the testing until later. The tests for that controller are in rough shape, and this functionality was already untested. |
…ler` & `GasFeeController` when listening to `NetworkController` (#932) * support either callback or messaging system subscription for NetworkController on GasFeeController and TokenListController
…ler` & `GasFeeController` when listening to `NetworkController` (#932) * support either callback or messaging system subscription for NetworkController on GasFeeController and TokenListController
…ler` & `GasFeeController` when listening to `NetworkController` (#932) * support either callback or messaging system subscription for NetworkController on GasFeeController and TokenListController
FIXED:
onNetworkStateChanged
callback was mistakenly removed fromTokenListController
in v32.0.0. It is now added back and is available as an option alongside a messaging system subscription for syncing withNetworkController
updates