Open maxdgaa opened 1 year ago
We are working on perf optimizations over the last week. Do you see any noticeable perf improvement now?
Hi, Not really to be honest. I also tested with Infura and keep thinking the problem must be on my end because the response takes so long that a block has long passed so the quote is useless, but I don't see what I'm doing wrong.
I face same issue, when I intergration @uniswap/smart-order-router on react-native, too long time to get best route
I'm submitting a ... [ ] bug report [ ] feature request [ ] question about the decisions made in the repository [X] question about how to use this project
Summary My calls take an extremely long time. Often >15 seconds and sometimes > 25 seconds.
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.) Branch: main
I'm running a local Geth node and have configured its eth call gas limit to 150 million as per the README's instructions.
I'm running the example call:
./bin/cli quote --tokenIn 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 --tokenOut 0x1f9840a85d5af5bf1d1762f925bdaddc4201f984 --amount 1000 --exactIn --recipient 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B --protocols v2,v3
My .env file looks like this:
JSON_RPC_PROVIDER = 'http://localhost:8545'
I've verified that it does indeed use my local node.