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

Improve performance when displaying token lists, using newly available data #760

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

csillag
Copy link
Contributor

@csillag csillag commented Jul 20, 2023

This depends on oasisprotocol/nexus#493.
This also depends on #761. (Since the Nexus PRs also depend on each other.)

Please note that while this version is backward compatible with the currently deployed staging or production versions of nexus, the performance improvements will only be realized if the new version of nexus is deployed.

@github-actions
Copy link

github-actions bot commented Jul 20, 2023

Deployed to Cloudflare Pages

Latest commit: c2717d971f9a142a30be5dc92921354f14ca3af7
Status:✅ Deploy successful!
Preview URL: https://984639dc.oasis-explorer.pages.dev

@csillag csillag force-pushed the csillag/optimize-token-list branch 2 times, most recently from d9f9b94 to 4b66304 Compare July 20, 2023 12:22
@csillag csillag marked this pull request as ready for review July 20, 2023 12:22
@csillag csillag force-pushed the csillag/optimize-token-list branch from 4b66304 to dd482e0 Compare July 20, 2023 12:26
@csillag csillag requested review from lukaw3d and buberdds July 20, 2023 13:54
@csillag csillag force-pushed the csillag/optimize-token-list branch 3 times, most recently from 84baf2c to 7010f78 Compare July 20, 2023 23:00
@csillag
Copy link
Contributor Author

csillag commented Jul 21, 2023

Tested with latest staging Nexus deployment, seems to work fine. (For testing, I had to change the API endpoints to staging, and enable Emerald.)

@csillag csillag force-pushed the csillag/optimize-token-list branch 4 times, most recently from fda7a5a to 8e883f1 Compare August 1, 2023 01:51
@csillag
Copy link
Contributor Author

csillag commented Aug 1, 2023

Now that the relevant Nexus changes have been merged, this PR has also been updated accordingly.

@csillag csillag force-pushed the csillag/optimize-token-list branch from 8e883f1 to 464273a Compare August 1, 2023 02:13
csillag added 2 commits August 1, 2023 17:44
Don't send extra round-trips to ask data about
the underlying contract, since verification data is now mirrored
inside the token info.
@csillag csillag force-pushed the csillag/optimize-token-list branch from 464273a to c2717d9 Compare August 1, 2023 15:44
@csillag csillag merged commit f9ba715 into master Aug 1, 2023
@csillag csillag deleted the csillag/optimize-token-list branch August 1, 2023 15:48
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

Successfully merging this pull request may close these issues.

2 participants