Skip to content
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

Optimize name retrieving from backend #1134

Open
davidyuk opened this issue Jul 7, 2021 · 1 comment
Open

Optimize name retrieving from backend #1134

davidyuk opened this issue Jul 7, 2021 · 1 comment

Comments

@davidyuk
Copy link
Member

davidyuk commented Jul 7, 2021

we can get the names from the names list in the store, the stored name for an account is also the preferredChainName, as the backend sorts them that way when they are globally fetched. This reduces the number of requests.

Originally posted by @thepiwo in #1133 (comment)

@davidyuk
Copy link
Member Author

we have switched to make a separate request in b685f61, but I can't recall why cc: @AtanasKrondev

I'm planning to revert it in future PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant