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

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Liang committed Jul 3, 2023
1 parent be989cb commit 4698ee7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions zkevm-circuits/src/evm_circuit/execution/end_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,8 @@ impl<F: Field> ExecutionGadget<F> for EndTxGadget<F> {
let (refund, _) = block.get_rws(step, 2).tx_refund_value_pair();
let (coinbase_codehash, _) = block.get_rws(step, 4).account_value_pair();
let [(caller_balance, caller_balance_prev), (coinbase_balance, coinbase_balance_prev)] =
[3, 5 + usize::from(coinbase_codehash.is_zero())].map(|index| {
dbg!(index);
block.get_rws(step, index).account_value_pair()
});
[3, 5 + usize::from(coinbase_codehash.is_zero())]
.map(|index| block.get_rws(step, index).account_value_pair());

self.tx_id
.assign(region, offset, Value::known(F::from(tx.id as u64)))?;
Expand Down

0 comments on commit 4698ee7

Please sign in to comment.