diff --git a/bin/reth/src/runner.rs b/bin/reth/src/runner.rs index a28c33800a..6f9277c42b 100644 --- a/bin/reth/src/runner.rs +++ b/bin/reth/src/runner.rs @@ -114,7 +114,11 @@ pub struct CliContext { /// Creates a new default tokio multi-thread [Runtime](tokio::runtime::Runtime) with all features /// enabled pub fn tokio_runtime() -> Result { - tokio::runtime::Builder::new_multi_thread().enable_all().build() + tokio::runtime::Builder::new_multi_thread() + .enable_all() + // increase stack size, mostly for RPC calls that use the evm: and + .thread_stack_size(8 * 1024 * 1024) + .build() } /// Runs the given future to completion or until a critical task panicked