From be2307f227c2b2802fd322a58b5722719a2c02f7 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Thu, 6 Oct 2016 11:50:54 +0300 Subject: [PATCH] right value --- ethcore/src/executive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/executive.rs b/ethcore/src/executive.rs index b970c1b12b8..973b588fb42 100644 --- a/ethcore/src/executive.rs +++ b/ethcore/src/executive.rs @@ -28,7 +28,7 @@ pub use types::executed::{Executed, ExecutionResult}; /// Roughly estimate what stack size each level of evm depth will use /// TODO [todr] We probably need some more sophisticated calculations here (limit on my machine 132) /// Maybe something like here: `https://github.com/ethereum/libethereum/blob/4db169b8504f2b87f7d5a481819cfb959fc65f6c/libethereum/ExtVM.cpp` -const STACK_SIZE_PER_DEPTH: usize = 256*1024; +const STACK_SIZE_PER_DEPTH: usize = 16*1024; /// Returns new address created from address and given nonce. pub fn contract_address(address: &Address, nonce: &U256) -> Address {