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

Commit

Permalink
chore: fix some typos (#1810)
Browse files Browse the repository at this point in the history
### 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)
  • Loading branch information
sfuhfds authored Apr 26, 2024
1 parent e7171f6 commit 91b59e7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion zkevm-circuits/src/evm_circuit/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ impl<F: Field> ExecutionConfig<F> {
.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
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/keccak_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ impl<F: Field> SubCircuit<F> for KeccakCircuit<F> {
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<F>, chunk: &Chunk<F>) -> Self {
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/test_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/witness/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<F> {
/// The randomness for random linear combination
Expand Down

0 comments on commit 91b59e7

Please sign in to comment.