diff --git a/test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp b/test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp index 39ec8ecfd..6d3f3a5f4 100644 --- a/test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp +++ b/test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp @@ -298,9 +298,7 @@ u256 EwasmBuiltinInterpreter::evalEthBuiltin(string const& _fun, vector 4) throw ExplicitlyTerminated(); + if (numberOfTopics > 0) + readBytes32(arg[3]); + if (numberOfTopics > 1) + readBytes32(arg[4]); + if (numberOfTopics > 2) + readBytes32(arg[5]); + if (numberOfTopics > 3) + readBytes32(arg[6]); logTrace(evmasm::logInstruction(numberOfTopics), {}); return 0; } @@ -473,7 +482,7 @@ u256 EwasmBuiltinInterpreter::evalEthBuiltin(string const& _fun, vector