|
|
@ -33,7 +33,12 @@ namespace |
|
|
|
static unsigned const c_depthLimit = 1024; |
|
|
|
|
|
|
|
/// Upper bound of stack space needed by single CALL/CREATE execution. Set experimentally.
|
|
|
|
static size_t const c_singleExecutionStackSize = 12 * 1024; |
|
|
|
static size_t const c_singleExecutionStackSize = |
|
|
|
#ifdef NDEBUG |
|
|
|
12 * 1024; |
|
|
|
#else |
|
|
|
64 * 1024; |
|
|
|
#endif |
|
|
|
|
|
|
|
/// Standard OSX thread stack limit. Should be reasonable for other platforms too.
|
|
|
|
static size_t const c_defaultStackSize = 512 * 1024; |
|
|
@ -104,4 +109,3 @@ h160 ExtVM::create(u256 _endowment, u256& io_gas, bytesConstRef _code, OnOpFunc |
|
|
|
io_gas = e.gas(); |
|
|
|
return e.newAddress(); |
|
|
|
} |
|
|
|
|
|
|
|