Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Jun 23, 2024
1 parent 1838aa1 commit 544877c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion zkevm-circuits/src/poseidon_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ impl<F: Field> SubCircuit<F> for PoseidonCircuit<F> {
let total_row_num = mpt_row_num + byte_row_num;
log::debug!("poseidon circuit row num: {mpt_row_num}(mpt) + {byte_row_num}(bytecode) = {total_row_num}");
let avg_trie_depth = after_dedup_size / block.mpt_updates.len();
log::debug!("avg_trie_depth {avg_trie_depth}");
log::debug!(
"avg_trie_depth {avg_trie_depth}, hash num {after_dedup_size}, mpt update num {}",
block.mpt_updates.len()
);
(
total_row_num,
block.circuits_params.max_poseidon_rows.max(total_row_num),
Expand Down

0 comments on commit 544877c

Please sign in to comment.