diff --git a/zkevm-circuits/src/evm_circuit/execution.rs b/zkevm-circuits/src/evm_circuit/execution.rs index d746780e9b..9e4db018f7 100644 --- a/zkevm-circuits/src/evm_circuit/execution.rs +++ b/zkevm-circuits/src/evm_circuit/execution.rs @@ -1176,7 +1176,7 @@ impl ExecutionConfig { .chain(chunk_txs.iter().flat_map(|tx| { tx.steps() .iter() - // chunk_txs is just a super set of execstep. To filter targetting + // chunk_txs is just a super set of execstep. To filter targeting // execstep we need to further filter by [initial_rwc, end_rwc) .filter(|step| { step.rwc.0 >= chunk.chunk_context.initial_rwc diff --git a/zkevm-circuits/src/keccak_circuit.rs b/zkevm-circuits/src/keccak_circuit.rs index 14cf9453de..3aa0b3b27d 100644 --- a/zkevm-circuits/src/keccak_circuit.rs +++ b/zkevm-circuits/src/keccak_circuit.rs @@ -1005,7 +1005,7 @@ impl SubCircuit for KeccakCircuit { keccak_unusable_rows() } - /// The `chunk.fixed_param.keccak_padding` parmeter, when enabled, sets + /// The `chunk.fixed_param.keccak_padding` parameter, when enabled, sets /// up the circuit to support a fixed number of permutations/keccak_f's, /// independently of the permutations required by `inputs`. fn new_from_block(block: &witness::Block, chunk: &Chunk) -> Self { diff --git a/zkevm-circuits/src/test_util.rs b/zkevm-circuits/src/test_util.rs index a809631a7b..7899d59508 100644 --- a/zkevm-circuits/src/test_util.rs +++ b/zkevm-circuits/src/test_util.rs @@ -448,7 +448,7 @@ pub enum CircuitTestError { /// Something wrong in the block_convert #[error("CannotConvertBlock({0})")] CannotConvertBlock(String), - /// Something worng in the chunk_convert + /// Something wrong in the chunk_convert #[error("SanityCheckChunks({0})")] SanityCheckChunks(String), /// Problem constructing MockProver diff --git a/zkevm-circuits/src/witness/block.rs b/zkevm-circuits/src/witness/block.rs index 6d3c4417fb..fc7c0ba42d 100644 --- a/zkevm-circuits/src/witness/block.rs +++ b/zkevm-circuits/src/witness/block.rs @@ -27,7 +27,7 @@ use itertools::Itertools; // TODO: Remove fields that are duplicated in`eth_block` /// [`Block`] is the struct used by all circuits, which contains blockwise -/// data for witness generation. Used with [`Chunk`] for the i-th chunck witness. +/// data for witness generation. Used with [`Chunk`] for the i-th chunk witness. #[derive(Debug, Clone, Default)] pub struct Block { /// The randomness for random linear combination