-
Notifications
You must be signed in to change notification settings - Fork 404
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
Failed to get ... quotes. Reasons: ProviderGasError, ProviderGasError, ProviderGasError #10
Comments
Fixed by #7 ? |
Afraid not, get this issue with that string->int fix |
What provider are you using? |
Latest version of geth |
Is it a local node? Or Infura/Alchemy/other? |
Geth Version: 1.10.8-stable local node. Just compared vs Alchemy and I didn't get it there actually COMP 0xc00e94Cb662C3520282E6f5717214004A7f26888 ZRX 0xE41d2489571d322189246DaFA5ebDe1F4699F498 chainID:1 ./bin/cli quote --tokenIn 0xc00e94Cb662C3520282E6f5717214004A7f26888 --tokenOut 0xE41d2489571d322189246DaFA5ebDe1F4699F498 --amount 1000 --exactIn --recipient 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B |
Can you try lowering the value here to 100? Or if that doesn't work 50? When we get quotes we make large multicall requests to the node that use a lot of gas. Different nodes have different gas limits per call, and the CLI defaults are tuned for Infura (which has ~150,000,000 gas limit per call). If lowering the |
Yes that fixed it, many thanks |
Getting this error for WETH->DAI and other pairs, e.g.
WETH : 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
DAI : 0x6B175474E89094C44Da98b954EedeAC495271d0F
./bin/cli quote --tokenIn 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 --tokenOut 0x6B175474E89094C44Da98b954EedeAC495271d0F --amount 1000 --exactIn --recipient 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B
Error: Failed to get 3 quotes. Reasons: ProviderGasError, ProviderGasError, ProviderGasError
The text was updated successfully, but these errors were encountered: