Skip to main content

EVM_THREAD_STACK_SIZE

Constant EVM_THREAD_STACK_SIZE 

Source
pub const EVM_THREAD_STACK_SIZE: usize = _ /* 33_554_432usize */;
Expand description

Stack size of the threads that run EVM executions.

evm2 executes every call frame as a native recursion, so a call at the maximum depth of 1024 needs several MiB of stack in debug builds, more than the default 2 MiB.