Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bus-mapping/src/circuit_input_builder/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub struct BlockHead {
/// chain id
pub chain_id: u64,
/// history hashes contains most recent 256 block hashes in history, where
/// the lastest one is at history_hashes[history_hashes.len() - 1].
/// the latest one is at history_hashes[history_hashes.len() - 1].
pub history_hashes: Vec<Word>,
/// coinbase
pub coinbase: Address,
Expand Down Expand Up @@ -204,7 +204,7 @@ pub struct Block {
pub block_steps: BlockSteps,
/// Exponentiation events in the block.
pub exp_events: Vec<ExpEvent>,
/// Circuits Setup Paramteres
/// Circuits Setup Parameters
pub circuits_params: CircuitsParams,
/// chain id
pub chain_id: u64,
Expand Down
2 changes: 1 addition & 1 deletion bus-mapping/src/circuit_input_builder/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub struct Call {
pub kind: CallKind,
/// This call is being executed without write access (STATIC)
pub is_static: bool,
/// This call generated implicity by a Transaction.
/// This call is generated implicitly by a Transaction
pub is_root: bool,
/// This call is persistent or call stack reverts at some point
pub is_persistent: bool,
Expand Down
2 changes: 1 addition & 1 deletion bus-mapping/src/circuit_input_builder/input_state_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2173,7 +2173,7 @@ impl<'a> CircuitInputStateRef<'a> {
Ok(())
}

// write all chunks to memroy word and add prev bytes
// write all chunks to memory word and add prev bytes
pub(crate) fn write_chunks(
&mut self,
exec_step: &mut ExecStep,
Expand Down
2 changes: 1 addition & 1 deletion bus-mapping/src/circuit_input_builder/tracer_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use mock::{
use pretty_assertions::assert_eq;
use std::collections::HashSet;

// Helper struct that contains a CircuitInputBuilder, a particuar tx and a
// Helper struct that contains a CircuitInputBuilder, a particular tx and a
// particular execution step so that we can easily get a
// CircuitInputStateRef to have a context in order to get the error at a
// given step.
Expand Down