-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Update name of tokens on token list #1127
Update name of tokens on token list #1127
Conversation
…e on TokenRatesController
Thanks for the review @mcmire I will address your comments later today |
The next step on this PR is to implement the responsibility of the update of the tokens name on the TokensController instead of the TokenDetectionController More context on this thread |
@tommasini Cool, just post another comment when you're ready for review again! |
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.
No red flags from me. It should not negatively impact wallet_watchAsset
.
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
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
PR Title
BREAKING:
to the start of the PR title.
Description
This PR aims to update the token name of the tokens on the token list.
It was added the name property on the follow function:
addToken
- now it receives an object with optional params (name, image)addTokens
It was created a new function called
updateTokensAttribute
- It aims to update the tokens attribute to the tokens that are on the state with the fetched token list.It was created a new ERC20 standard to get the token name
getTokenName
and the function to call it on Assets Controller
getERC20TokenName
Checklist
Issue
Resolves #???