-
Notifications
You must be signed in to change notification settings - Fork 443
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 fetch gas estimate when trying to test contract method #326
Comments
little update: let result1 = try transaction.call() I get nodeError(desc: "VM execution error.") if I try let estimate = try transaction.estimateGas(transactionOptions: options) I got nodeError(desc: "The execution failed due to an exception.") still need help :( |
@Iysbaera Hello, I will look, thank you. |
@Gabets Hello,how to make a swap transaction with Uniswap's contracts? Uniswap 1、UniswapV2Router02 https://etherscan.io/address/0x7a250d5630b4cf539739df2c5dacb4c659f2488d#code https://unpkg.com/@uniswap/v2-periphery@1.1.0-beta.0/build/IUniswapV2Router02.json 2、Vyper_contract https://etherscan.io/address/0xc0a47dfe034b400b47bdad5fecda2621de6c4d95#code 3、UniswapV2Factory https://etherscan.io/address/0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f#code https://unpkg.com/@uniswap/v2-core@1.0.0/build/IUniswapV2Factory.json |
@AlleniCode Hello! |
Hi, removing the value fixed it for me, see #147 |
Hi all!
I'm tried to create simple iOS app and test contract on Kovan network and when I send transaction I get error:
processingError(desc: "Failed to fetch gas estimate")
My code:
main function:
getContract function:
and infuraKovanWeb3 function:
could somebody help me with this issue?
можно отвечать и на русском)
The text was updated successfully, but these errors were encountered: