diff --git a/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rlp/txn/RlpTxnChunk.java b/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rlp/txn/RlpTxnChunk.java index 6158cb22c4..c49c700fd2 100644 --- a/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rlp/txn/RlpTxnChunk.java +++ b/arithmetization/src/main/java/net/consensys/linea/zktracer/module/rlp/txn/RlpTxnChunk.java @@ -113,7 +113,7 @@ protected int computeLineCount() { // Phase AccessList if (txType == 1 || txType == 2) { - if (this.tx.getAccessList().orElseThrow().isEmpty()) { + if (this.tx.getAccessList().isEmpty() || this.tx.getAccessList().get().isEmpty()) { rowSize += 1; } else { // Rlp prefix of the AccessList list