Underoptimized trade route on Optimism
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
When looking to make a swap between SNX and USDC, I got a quote for nearly 98% price impact when it appears that there's a path for one with ~5% price impact 🤷
Steps to Reproduce
- Go to https://app.uniswap.org/#/swap
- Connect wallet and set network to Optimistic Ethereum
- Create a swap between 1000 SNX and USDC.
- At the time of writing, I'm seeing something ridiculous like $99 USDC for 1000 SNX with a route that goes from SNX -> WBTC -> USDC (see screenshot below for more details).
- Confirm there is a better route with SNX -> ETH -> USDC (see screenshot for exact details)
Expected Behavior
To take the route that has ~5% price impact (SNX -> ETH -> USDC) as opposed to the one that has a 98% price impact (SNX -> WBTC -> USDC)
Additional Context
What I was quoted

Manual attempt at finding a better route


Thanks for taking the time to read this, and apologies in advance if this is intended and I'm misunderstanding the intended behavior 😅
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the swap in the Uniswap interface on Optimistic Ethereum using 1000 SNX to USDC, then inspect the route-selection entry point used by the swap flow. Compare the selected SNX → WBTC → USDC route with the reported SNX → ETH → USDC route; done means the interface selects the lower-price-impact route when it is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100