File tree 2 files changed +4
-4
lines changed
arithmetization/src/main/java/net/consensys/linea/zktracer/module
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -120,15 +120,15 @@ public int lineCount() {
120
120
int sum = 0 ;
121
121
122
122
if (COUNT_STACK_ONLY ) {
123
- for (TraceSection section : this .trace ) {
124
- for (TraceSection .TraceLine line : section .getLines ()) {
123
+ for (TraceSection section : this .trace ) {
124
+ for (TraceSection .TraceLine line : section .getLines ()) {
125
125
if (line .specific () instanceof StackFragment ) {
126
126
sum ++;
127
127
}
128
128
}
129
129
}
130
130
} else {
131
- for (TraceSection section : this .trace ) {
131
+ for (TraceSection section : this .trace ) {
132
132
sum += section .getLines ().size ();
133
133
}
134
134
}
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ public int lineCount() {
295
295
for (RlpAddrChunk chunk : this .chunkList ) {
296
296
traceRowSize += chunkRowSize (chunk );
297
297
}
298
- return 2 * traceRowSize ; //TODO: temporary hack for Geth/Besu
298
+ return 2 * ( traceRowSize + 1 ) ; // TODO: temporary hack for Geth/Besu
299
299
}
300
300
301
301
@ Override
You can’t perform that action at this time.
0 commit comments