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

Fix compositeswap to use direct pool when available and fix testpoolswap calculation #1481

Merged
merged 8 commits into from
Oct 14, 2022

Conversation

Jouzo
Copy link
Collaborator

@Jouzo Jouzo commented Sep 18, 2022

What kind of PR is this?:

/kind fix

What this PR does / why we need it:

  • Fixes testpoolswap amount by using same ExecuteSwap method as used by poolswap and compositeswap
  • Fixes compositeswap not using direct path when available

Which issue(s) does this PR fixes?:

Fixes #1397

@Jouzo Jouzo force-pushed the fix/testpoolswap_amount branch from f630674 to 476c524 Compare September 18, 2022 22:37
@Jouzo Jouzo changed the title Fix testpoolswap Fix compositeswap to use direct pool when available and fix testpoolswap calculation Sep 20, 2022
@shohamc1 shohamc1 linked an issue Oct 13, 2022 that may be closed by this pull request
@prasannavl prasannavl merged commit a91ae27 into master Oct 14, 2022
@prasannavl prasannavl deleted the fix/testpoolswap_amount branch October 14, 2022 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants