Skip to content

Commit 8819bec

Browse files
authored
fix: clippy (#1844)
1 parent e62624b commit 8819bec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

batcher/aligned-batcher/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ use aligned_batcher::{types::errors::BatcherError, Batcher};
1010
/// Batcher main flow:
1111
/// There are two main tasks spawned: `listen_connections` and `listen_new_blocks`
1212
/// * `listen_connections` waits for websocket connections and adds verification data sent by clients
13-
/// to the batch.
13+
/// to the batch.
1414
/// * `listen_new_blocks` waits for new blocks and when one is received, checks if the conditions are met
15-
/// the current batch to be submitted. In other words, this task is the one that controls when a batch
16-
/// is to be posted.
15+
/// the current batch to be submitted. In other words, this task is the one that controls when a batch
16+
/// is to be posted.
1717
#[derive(Parser)]
1818
#[command(name = "Aligned Batcher")]
1919
#[command(about = "An application with server and client subcommands", long_about = None)]

batcher/aligned-batcher/src/types/batch_queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ pub(crate) fn calculate_batch_size(batch_queue: &BatchQueue) -> Result<usize, Ba
152152
/// 1. Traverse each batch priority queue, starting from the one with minimum max fee.
153153
/// 2. Calculate the `fee_per_proof` for the whole batch and compare with the `max_fee` of the entry.
154154
/// 3. If `fee_per_proof` is less than the `max_fee` of the current entry, submit the batch. If not, pop this entry
155-
/// from the queue. then repeat step 1.
155+
/// from the queue. then repeat step 1.
156156
///
157157
/// Returns the finalized batch.
158158
pub(crate) fn try_build_batch(

batcher/aligned-sdk/src/sdk.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub async fn submit_multiple_and_wait_verification(
115115
/// To estimate the `max_fee` of a batch we compute it based on a batch size of 1 (Instant), 10 (Default), or a user supplied `number_proofs_in_batch` (Custom).
116116
/// The `max_fee` estimates therefore are:
117117
/// * `Default`: Specifies a `max_fee` equivalent to the cost of paying for one proof within a batch of 10 proofs i.e. 1 / 10 proofs.
118-
/// This estimates a default `max_fee` the user should specify for including there proof within the batch.
118+
/// This estimates a default `max_fee` the user should specify for including there proof within the batch.
119119
/// * `Instant`: Specifies a `max_fee` equivalent to the cost of paying for an entire batch ensuring the user's proof is included instantly assuming the proof is not competing with others for inclusion.
120120
/// * `Custom (number_proofs_in_batch)`: Specifies a `max_fee` equivalent to the cost of paying 1 proof / `number_proofs_in_batch` allowing the user a user to estimate the `max_fee` precisely based on the `number_proofs_in_batch`.
121121
///

0 commit comments

Comments
 (0)