Skip to content

Commit

Permalink
chore: fix typos (anza-xyz#1280)
Browse files Browse the repository at this point in the history
Co-authored-by: arkdrq <169236000+arkdrq@users.noreply.github.com>
  • Loading branch information
arkdrq and arkdrq authored May 10, 2024
1 parent b5c5bd3 commit 90cf5f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/src/banking_stage/leader_slot_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ struct LeaderSlotPacketCountMetrics {
committed_transactions_with_successful_result_count: u64,

// total number of transactions that were not executed or failed commit, BUT were added back to the buffered
// queue becaus they were retryable errors
// queue because they were retryable errors
retryable_errored_transaction_count: u64,

// The size of the unprocessed buffer at the end of the slot
Expand Down Expand Up @@ -1164,7 +1164,7 @@ mod tests {
mut leader_slot_metrics_tracker,
} = setup_test_slot_boundary_banks();
// Test case where the thread has a leader bank, and now detects there's a new leader bank
// for a samller slot, implying the slot has ended. Metrics should be reported for the
// for a smaller slot, implying the slot has ended. Metrics should be reported for the
// bigger slot
{
// Setup with next_bank
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl SchedulerController {
// are different, since new BankingStage will not forward packets.
// For `Forward` and `ForwardAndHold`, we want to receive packets but will not
// forward them to the next leader. In this case, `ForwardAndHold` is
// indistiguishable from `Hold`.
// indistinguishable from `Hold`.
//
// `Forward` will drop packets from the buffer instead of forwarding.
// During receiving, since packets would be dropped from buffer anyway, we can
Expand Down

0 comments on commit 90cf5f0

Please sign in to comment.