mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
yul Interpreter: Move memory size limit to interpreter state.
This commit is contained in:
@@ -86,6 +86,7 @@ void interpret(string const& _source)
|
||||
|
||||
InterpreterState state;
|
||||
state.maxTraceSize = 10000;
|
||||
state.maxMemSize = 0x20000000;
|
||||
Interpreter interpreter(state);
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user