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

Commit 91b59e7

Browse files
author
sfuhfds
authored
chore: fix some typos (#1810)
### Description Fix four typos ### Issue Link [_link issue here_] ### Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [x] This change requires a documentation update - [ ] Refactor (no updates to logic)
1 parent e7171f6 commit 91b59e7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: zkevm-circuits/src/evm_circuit/execution.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ impl<F: Field> ExecutionConfig<F> {
11761176
.chain(chunk_txs.iter().flat_map(|tx| {
11771177
tx.steps()
11781178
.iter()
1179-
// chunk_txs is just a super set of execstep. To filter targetting
1179+
// chunk_txs is just a super set of execstep. To filter targeting
11801180
// execstep we need to further filter by [initial_rwc, end_rwc)
11811181
.filter(|step| {
11821182
step.rwc.0 >= chunk.chunk_context.initial_rwc

Diff for: zkevm-circuits/src/keccak_circuit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ impl<F: Field> SubCircuit<F> for KeccakCircuit<F> {
10051005
keccak_unusable_rows()
10061006
}
10071007

1008-
/// The `chunk.fixed_param.keccak_padding` parmeter, when enabled, sets
1008+
/// The `chunk.fixed_param.keccak_padding` parameter, when enabled, sets
10091009
/// up the circuit to support a fixed number of permutations/keccak_f's,
10101010
/// independently of the permutations required by `inputs`.
10111011
fn new_from_block(block: &witness::Block<F>, chunk: &Chunk<F>) -> Self {

Diff for: zkevm-circuits/src/test_util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ pub enum CircuitTestError {
448448
/// Something wrong in the block_convert
449449
#[error("CannotConvertBlock({0})")]
450450
CannotConvertBlock(String),
451-
/// Something worng in the chunk_convert
451+
/// Something wrong in the chunk_convert
452452
#[error("SanityCheckChunks({0})")]
453453
SanityCheckChunks(String),
454454
/// Problem constructing MockProver

Diff for: zkevm-circuits/src/witness/block.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use itertools::Itertools;
2727

2828
// TODO: Remove fields that are duplicated in`eth_block`
2929
/// [`Block`] is the struct used by all circuits, which contains blockwise
30-
/// data for witness generation. Used with [`Chunk`] for the i-th chunck witness.
30+
/// data for witness generation. Used with [`Chunk`] for the i-th chunk witness.
3131
#[derive(Debug, Clone, Default)]
3232
pub struct Block<F> {
3333
/// The randomness for random linear combination

0 commit comments

Comments
 (0)