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: mixed route eth <-> weth need to remove fake pool #1017

Merged
merged 6 commits into from
Feb 14, 2025

Conversation

jsy1218
Copy link
Member

@jsy1218 jsy1218 commented Feb 14, 2025

i forgot to remove the fake pool when we compose the route object in the quote.ts. we cannot return the fake pool in the route object, when we return to trading-api. because trading-api will actually uses the route object to submit to the universal-router-sdk. and universal-router-sdk has no knowledge of the fake pool. ur-sdk has special logic to handle the ETH <-> WETH connections.

@jsy1218 jsy1218 marked this pull request as ready for review February 14, 2025 18:26
Copy link
Member Author

jsy1218 commented Feb 14, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@jsy1218 jsy1218 merged commit 651023d into main Feb 14, 2025
8 checks passed
@jsy1218 jsy1218 deleted the siyujiang/mixed-route-eth-weth-remove-fake-pool branch February 14, 2025 21:35
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