Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit 757dbf1

Browse files
committed
fix(zkevm-circuits/begin_tx): fix the constraint
1 parent bc6715a commit 757dbf1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zkevm-circuits/src/evm_circuit/execution/begin_tx.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ impl<F: Field> ExecutionGadget<F> for BeginTxGadget<F> {
217217
);
218218

219219
let length = cb.tx_context(tx_id.expr(), TxContextFieldTag::CallDataLength, None);
220-
let copy_rwc_inc = cb.query_cell();
221220
let rlc_acc = cb.query_cell_phase2();
222221
cb.copy_table_lookup(
223222
WordLoHi::from_lo_unchecked(tx_id.expr()),
@@ -229,7 +228,7 @@ impl<F: Field> ExecutionGadget<F> for BeginTxGadget<F> {
229228
0.expr(),
230229
length.expr(),
231230
rlc_acc.expr(),
232-
copy_rwc_inc.expr(),
231+
0.expr(),
233232
);
234233
cb.keccak_table_lookup(
235234
rlc_acc.expr(),

0 commit comments

Comments
 (0)