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

Pair seems to be saved twice in handleSwap #52

Open
maoueh opened this issue May 14, 2021 · 2 comments
Open

Pair seems to be saved twice in handleSwap #52

maoueh opened this issue May 14, 2021 · 2 comments

Comments

@maoueh
Copy link

maoueh commented May 14, 2021

This line:

Is already performed few lines above:

This feels superfluous, since it's done 10 lines above and nothing change in between.

@maoueh
Copy link
Author

maoueh commented May 14, 2021

While at it,

swap.transaction = transaction.id;
also is duplicated with
swap.transaction = transaction.id;

@ChefKai
Copy link
Contributor

ChefKai commented May 26, 2021

Thank you for opening an issue; as we weren't able to deploy a subgraph for a long time, we haven't been able to deep-dive on the exchange subgraph for a while. We will start improving it soon, based on performance upgrade done on exchange-lite!

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

2 participants