Skip to content

Commit 6e1ec4a

Browse files
Merge branch 'arith-dev' into 2538-add-one-osaka-replay-tests
2 parents d8d33de + 62700d4 commit 6e1ec4a

File tree

16 files changed

+1184
-206
lines changed

16 files changed

+1184
-206
lines changed

arithmetization/src/main/java/net/consensys/linea/zktracer/module/exp/ExpOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public ExpOperation(ExpCall expCall) {
5454
final ModexpLogExpCall modexplogExpCall = (ModexpLogExpCall) expCall;
5555
// Extract inputs
5656
final ModexpMetadata modexpMetadata = modexplogExpCall.getModexpMetadata();
57-
final int bbsInt = modexpMetadata.bbsInt();
58-
final int ebsInt = modexpMetadata.ebsInt();
57+
final int bbsInt = modexpMetadata.normalizedBbsInt();
58+
final int ebsInt = modexpMetadata.normalizedEbsInt();
5959
checkArgument(
6060
modexpMetadata.callData().size() - BASE_MIN_OFFSET - bbsInt >= 0,
6161
"MODEXP call data unexpectedly short");

arithmetization/src/main/java/net/consensys/linea/zktracer/module/hub/precompiles/modexpMetadata/ModexpMetadata.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public EWord rawLeadingWord() {
217217
return EWord.of(
218218
rightPaddedSlice(
219219
callDataRange.getRawData(),
220-
safeLongToInt(callDataRange.offset()) + BASE_MIN_OFFSET + bbsInt(),
220+
safeLongToInt(callDataRange.offset()) + BASE_MIN_OFFSET + normalizedBbsInt(),
221221
WORD_SIZE));
222222
}
223223

arithmetization/src/main/java/net/consensys/linea/zktracer/module/txndata/osaka/OsakaUserTransaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
package net.consensys.linea.zktracer.module.txndata.osaka;
1717

18-
import static net.consensys.linea.zktracer.Trace.EIP_7825_TRANSACTION_GAS_LIMIT_CAP;
18+
import static net.consensys.linea.zktracer.TraceOsaka.EIP_7825_TRANSACTION_GAS_LIMIT_CAP;
1919

2020
import net.consensys.linea.zktracer.module.txndata.cancun.CancunTxnData;
2121
import net.consensys.linea.zktracer.module.txndata.cancun.rows.computationRows.WcpRow;

0 commit comments

Comments
 (0)