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

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxianBoy committed Mar 26, 2024
1 parent 7f750aa commit 135f738
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bus-mapping/src/circuit_input_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ pub use transaction::{Transaction, TransactionContext};
#[derive(Debug, Clone, Copy)]
pub struct CircuitsParams {
/// Maximum number of rw operations in the state circuit (RwTable length /
/// nummber of rows). This must be at least the number of rw operations
/// number of rows). This must be at least the number of rw operations
/// + 1, in order to allocate at least a Start row.
pub max_rws: usize,
// TODO: evm_rows: Maximum number of rows in the EVM Circuit
/// Maximum number of txs in the Tx Circuit
pub max_txs: usize,
/// Maximum number of bytes from all txs calldata in the Tx Circuit
pub max_calldata: usize,
/// Max ammount of rows that the CopyCircuit can have.
/// Max amount of rows that the CopyCircuit can have.
pub max_copy_rows: usize,
/// Max number of steps that the ExpCircuit can have. Each step is further
/// expressed in 7 rows
Expand Down
2 changes: 1 addition & 1 deletion bus-mapping/src/evm/opcodes/error_write_protection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ impl Opcode for ErrorWriteProtection {
.contains(&geth_step.op));

if geth_step.op == OpcodeId::CALL {
// get only the frist three stack elements since the third one is the value we
// get only the first three stack elements since the third one is the value we
// want to check.
for i in 0..3 {
state.stack_read(
Expand Down
2 changes: 1 addition & 1 deletion zkevm-circuits/src/pi_circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ impl<F: Field> PiCircuitConfig<F> {
pub struct PiCircuit<F: Field> {
max_txs: usize,
max_calldata: usize,
/// Randomness for RLC encdoing
/// Randomness for RLC encoding
pub randomness: F,
/// Randomness for PI encoding
pub rand_rpi: F,
Expand Down

0 comments on commit 135f738

Please sign in to comment.