diff --git a/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rom/Rom.java b/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rom/Rom.java index 524fb5e370..8c94a2eb5a 100644 --- a/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rom/Rom.java +++ b/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rom/Rom.java @@ -66,18 +66,7 @@ public int lineCount() { } public int chunkRowSize(RomChunk chunk) { - int s = 32; - for (int pc = 0; pc < chunk.byteCode().size(); pc++) { - final int opCode = 0xff & chunk.byteCode().get(pc); - if (opCode >= 0x60 && opCode <= 0x7f) { - final int pushParam = opCode - 0x60 + 1; - s += pushParam; - pc += pushParam; - } else { - s += 2; - } - } - return s; + return chunk.byteCode().size(); } private void traceChunk(RomChunk chunk, int cfi, int cfiInfty, Trace trace) {