Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Toggle option to enable/disable balance and Token rate checking for using third-party API #16772
Toggle option to enable/disable balance and Token rate checking for using third-party API #16772
Changes from 54 commits
3c23abe
8b572f8
7632c12
9bdbfe4
7bfd261
ad0ed74
4fca64d
1454da7
5b8cdae
f8cd35d
56c8e27
248fd89
17b05a8
4583e90
7991f04
4128091
7c8fc08
1c6f85a
bc9c843
1530ca3
0fd2b26
fc7cb84
e1b4459
a976034
a3ef5ab
4d6aa0d
9b723d0
f55e5b7
420dee9
5f0ad29
814eb10
375515e
93f8097
d1d704e
e15139b
237a673
363e860
3e973bd
6581495
7ae2936
6774504
8419784
a68e5b5
9447f96
010138f
822a3ac
4a8d47a
8b03515
9e68f23
e73afb8
cc1948d
14733ce
a144ec9
f037623
a1a8c65
5127185
120784b
1ac87ae
8b96364
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Code above can better be written in
tokenRatesController
. I would avoid putting code in metamaskController.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.
Introducing these changes in
tokenRatecontroller
will need an introduction ofuseCurrencyRateCheck
toPreferencecontroller
in the core repo, which is redundant as we are not using a separatePreferencecontroller
in the extension. This way, we can minimize the extension-specific code in the core repo.