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
I’ve been trying to run ItyFuzz locally against a deployed contract on a Ganache instance, but I’ve run into some issues.
Despite going through the documentation, I’m still facing difficulties in configuring the tool correctly. Specifically, I encountered the following erros:
thread 'main' panicked at src/evm/onchain/endpoints.rs:628:21:
fail to get latest block number
While looking into the code, I noticed that the local chain type references http://localhost:8080/abi/ address of Etherscan. Could it be that I need to run an additional service for this to work properly?
Additionally, I attempted another run mode against the Sepolia test network. The tool executed successfully, but when I added the --fetch-tx-data flag, the command failed with the following error:
From this error, it seems that ItyFuzz is attempting to reach a proxy address at localhost:5001. Maybe an additional setup is required to run this properly?
Could you kindly provide some guidance on how to properly set up and run ItyFuzz in these environments? Any advice or additional resources you could share would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi guys,
I’ve been trying to run ItyFuzz locally against a deployed contract on a Ganache instance, but I’ve run into some issues.
Despite going through the documentation, I’m still facing difficulties in configuring the tool correctly. Specifically, I encountered the following erros:
❯ ityfuzz evm -f -t {deployed_contract_address} --chain-type local --onchain-url http://127.0.0.1:7545/ --onchain-block-number {block_number}
thread 'main' panicked at src/evm/onchain/endpoints.rs:628:21:
fail to get latest block number
While looking into the code, I noticed that the local chain type references http://localhost:8080/abi/ address of Etherscan. Could it be that I need to run an additional service for this to work properly?
Additionally, I attempted another run mode against the Sepolia test network. The tool executed successfully, but when I added the --fetch-tx-data flag, the command failed with the following error:
❯ ityfuzz evm -f -t {deployed_contract_address} --chain-type sepolia --onchain-url https://sepolia.infura.io/v3/{token} --onchain-block-number {block_number} --onchain-etherscan-api-key {eth_api_key} --fetch-tx-data
thread 'main' panicked at src/evm/mod.rs:615:67:
called
Result::unwrap()
on anErr
value: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("localhost")), port: Some(5001), path: "/data", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })) }From this error, it seems that ItyFuzz is attempting to reach a proxy address at localhost:5001. Maybe an additional setup is required to run this properly?
Could you kindly provide some guidance on how to properly set up and run ItyFuzz in these environments? Any advice or additional resources you could share would be greatly appreciated.
Thank you for creating such an amazing tool!
Beta Was this translation helpful? Give feedback.
All reactions