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

[MEX-715] Swap query cache optimization #1578

Open
wants to merge 4 commits into
base: development
Choose a base branch
from

Conversation

mad2sm0key
Copy link
Contributor

Reasoning

  • the getAllActivePairs method used in the swap query performs multiple single GET requests from cache for fetching pairs state, reserves, fee percentage and token metadata

Proposed Changes

  • use bulk get methods in getAllActivePairs
  • fetch token metadata for unique token IDs

How to test

  • N/A

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