You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This SimpleSwap example work OK with the mainnet fork. But I find some bugs while deploying the SimpleSwap Contract on goerli testnet.
If you implement this on Goerli's testnet it won't work, WETH and DAI contracts don't live under these addresses, even if you update the contract addresses to the correct testnet ones neither tests nor deployments will work.
This is the output on the goerli fork node with both addresses versions (mainnet and testnet)
Error: Transaction reverted without a reason string
This is the test error with both addresses updated (mainnet and testnet).
It is the same error with the mainnet addresses and node fork running on goerli
1) SimpleSwap Should provide a caller with more DAI than they started with after a swap: Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="balanceOf(address)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.6.4)
Do you have any example with Goerli Testnet?
I need to deploy this contract on Goerli for some integration tests.
Any help will be really appreciate.
Thank you
The text was updated successfully, but these errors were encountered:
Error on Goerli Deployment
This SimpleSwap example work OK with the mainnet fork. But I find some bugs while deploying the SimpleSwap Contract on goerli testnet.
If you implement this on Goerli's testnet it won't work, WETH and DAI contracts don't live under these addresses, even if you update the contract addresses to the correct testnet ones neither tests nor deployments will work.
This is the output on the goerli fork node with both addresses versions (mainnet and testnet)
Error: Transaction reverted without a reason string
The Goerli addresses for these tokens are:
DAI = 0x4648a43B2C14Da09FdF82B161150d3F634f40491
WETH9 = 0xB4FBF271143F4FBf7B91A5ded31805e42b2208d6
Also i'm using this SwapRouter address:
0xE592427A0AEce92De3Edee1F18E0157C05861564
This is the test error with both addresses updated (mainnet and testnet).
It is the same error with the mainnet addresses and node fork running on goerli
1) SimpleSwap Should provide a caller with more DAI than they started with after a swap: Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="balanceOf(address)", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.6.4)
Do you have any example with Goerli Testnet?
I need to deploy this contract on Goerli for some integration tests.
Any help will be really appreciate.
Thank you
The text was updated successfully, but these errors were encountered: