Skip to content

Commit

Permalink
chore: remove redundant words in comment (#2752)
Browse files Browse the repository at this point in the history
Signed-off-by: rusttech <[email protected]>
  • Loading branch information
rusttech authored Dec 3, 2024
1 parent ef343bb commit 2026f58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/katana/primitives/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl ChainSpec {
Block { header, body: Vec::new() }
}

// this method will include the the ETH and STRK fee tokens, and the UDC
// this method will include the ETH and STRK fee tokens, and the UDC
pub fn state_updates(&self) -> StateUpdatesWithClasses {
let mut states = StateUpdatesWithClasses::default();

Expand Down
2 changes: 1 addition & 1 deletion crates/katana/rpc/rpc/src/utils/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ fn fetch_tx_events(
if buffer.len() >= chunk_size {
// the next time we have to fetch the events, we will start from this index.
let new_last_event = if total_can_take == 0 {
// start from the the same event pointed by the
// start from the same event pointed by the
// current cursor..
last_event_idx
} else {
Expand Down
2 changes: 1 addition & 1 deletion crates/katana/runner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ impl KatanaRunner {
}

/// Determines the default program path for the katana runner based on the KATANA_RUNNER_BIN
/// environment variable. If not set, try to to use katana from the PATH.
/// environment variable. If not set, try to use katana from the PATH.
fn determine_default_program_path() -> String {
if let Ok(bin) = std::env::var("KATANA_RUNNER_BIN") { bin } else { "katana".to_string() }
}
Expand Down
2 changes: 1 addition & 1 deletion crates/sozo/ops/src/migrate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ where

Declarer::declare(labeled_class, &self.world.account, &self.txn_config).await?;

// We want to wait for the receipt to be be able to print the
// We want to wait for the receipt to be able to print the
// world block number.
let mut txn_config = self.txn_config;
txn_config.wait = true;
Expand Down

0 comments on commit 2026f58

Please sign in to comment.