diff --git a/src/action/evm_bytecode_visitor.h b/src/action/evm_bytecode_visitor.h index fbd184a2..fc639044 100644 --- a/src/action/evm_bytecode_visitor.h +++ b/src/action/evm_bytecode_visitor.h @@ -596,7 +596,7 @@ template class EVMByteCodeVisitor { Ip++; PC++; } - if (PC > RunStartPC) { + if (PC > RunStartPC && !InDeadCode) { Builder.meterOpcodeRange(RunStartPC, PC); } handleEndBlock();