diff --git a/crates/config/src/lib.rs b/crates/config/src/lib.rs index 569fb95..8787b71 100644 --- a/crates/config/src/lib.rs +++ b/crates/config/src/lib.rs @@ -55,7 +55,7 @@ pub struct Arguments { pub geth: PathBuf, /// The maximum time in milliseconds to wait for geth to start. - #[arg(long = "geth-start-timeout", default_value = "10000")] + #[arg(long = "geth-start-timeout", default_value = "30000")] pub geth_start_timeout: u64, /// The test network chain ID. diff --git a/crates/node/src/geth.rs b/crates/node/src/geth.rs index 9c751de..9268465 100644 --- a/crates/node/src/geth.rs +++ b/crates/node/src/geth.rs @@ -223,7 +223,10 @@ impl GethNode { } } if Instant::now().duration_since(start_time) > maximum_wait_time { - anyhow::bail!("Timeout in starting geth"); + anyhow::bail!( + "Timeout in starting geth: took longer than {}ms", + self.start_timeout + ); } } }