Skip to content

Commit

Permalink
chore: fix some typos in comment (#906)
Browse files Browse the repository at this point in the history
Signed-off-by: piguagua <[email protected]>
  • Loading branch information
piguagua authored Jan 15, 2025
1 parent bf91cfe commit cb2d88e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion book/src/sdk/pipeline/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ use core::iter::Iterator;
let l2_safe_head = L2BlockInfo::default();
loop {
if matches!(pipeline.step(l2_safe_head).await, StepResult::PreparedAttributes) {
// The pipeline has succesfully prepared payload attributes, break the loop.
// The pipeline has successfully prepared payload attributes, break the loop.
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion crates/derive/src/stages/batch/batch_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use maili_protocol::{
use op_alloy_genesis::RollupConfig;

/// [BatchQueue] is responsible for o rdering unordered batches
/// and gnerating empty batches when the sequence window has passed.
/// and generating empty batches when the sequence window has passed.
///
/// It receives batches that are tagged with the L1 Inclusion block of the batch.
/// It only considers batches that are inside the sequencing window of a specific L1 Origin.
Expand Down
4 changes: 2 additions & 2 deletions crates/derive/src/test_utils/batch_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ pub struct TestBatchStreamProvider {
pub origin: Option<BlockInfo>,
/// A list of batches to return.
pub batches: Vec<PipelineResult<Batch>>,
/// Wether the reset method was called.
/// Whether the reset method was called.
pub reset: bool,
/// Wether the provider was flushed.
/// Whether the provider was flushed.
pub flushed: bool,
}

Expand Down
2 changes: 1 addition & 1 deletion crates/derive/src/test_utils/frame_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct TestFrameQueueProvider {
pub data: Vec<PipelineResult<Bytes>>,
/// The origin to return.
pub origin: Option<BlockInfo>,
/// Wether the reset method was called.
/// Whether the reset method was called.
pub reset: bool,
}

Expand Down

0 comments on commit cb2d88e

Please sign in to comment.