Uniswap / interface

🦄 Open source interfaces for the Uniswap protocol
https://app.uniswap.org
GNU General Public License v3.0
4.95k stars 5.01k forks source link

Insufficient liquidity error with Auto Router API #3679

Open keythematt opened 2 years ago

keythematt commented 2 years ago

Bug Description Upon trying to purchase $MLK we find that with auto router API on, insufficient liquidity for trade is shown. When turning the auto router API off, the trade route is fine. The legacy router appears to not be being used anymore.

Steps to Reproduce Go to the main swap app with Auto Router API on, 0xf87C4B9C0c1528147CAc4E05b7aC349A9Ab23A12 Attempt to trade $MLK token for contract address image

Expected Behavior The V2 liquidity pool to be found and trades executed in that.

Additional Context This has been reported by multiple buyers attempting to purchase across mobile and desktop. I found the Auto Router API determines "no route found" when queried for the above contract address, and as the fallback behaviour should be to use the legacy router, this is not occuring or the trade would still show up.

thirashapw commented 1 year ago

did you solved this problem?