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

Commit

Permalink
fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
hero78119 committed Feb 29, 2024
1 parent d04a971 commit a7e3610
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions zkevm-circuits/src/test_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,12 @@ const NUM_BLINDING_ROWS: usize = 64;
/// .unwrap();
///
/// CircuitTestBuilder::new_from_test_ctx(ctx)
/// .block_modifier(Box::new(|block, chunk| chunk.fixed_param.max_evm_rows = (1 << 18) - 100))
/// .run();
/// .block_modifier(Box::new(|_block, chunk| {
/// chunk
/// .iter_mut()
/// .for_each(|chunk| chunk.fixed_param.max_evm_rows = (1 << 18) - 100);
/// }))
/// .run()
/// ```
pub struct CircuitTestBuilder<const NACC: usize, const NTX: usize> {
test_ctx: Option<TestContext<NACC, NTX>>,
Expand Down

0 comments on commit a7e3610

Please sign in to comment.