Skip to content

Commit

Permalink
fix: full sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Aug 27, 2024
1 parent 5586e7f commit 5e9e644
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions zero_bin/rpc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,33 @@ pub(crate) struct RpcConfig {
/// The RPC URL.
#[arg(short = 'u', long, value_hint = ValueHint::Url)]
rpc_url: Url,
/// The RPC Tracer Type
/// The RPC Tracer Type.
#[arg(short = 't', long, default_value = "jerigon")]
rpc_type: RpcType,
/// Backoff in milliseconds for retry requests
/// Backoff in milliseconds for retry requests.
#[arg(long, default_value_t = 0)]
backoff: u64,
/// The maximum number of retries
/// The maximum number of retries.
#[arg(long, default_value_t = 0)]
max_retries: u32,
}

#[derive(Subcommand)]
pub(crate) enum Command {
Fetch {
/// Starting block of interval to fetch
/// Starting block of interval to fetch.
#[arg(short, long)]
start_block: u64,
/// End block of interval to fetch
/// End block of interval to fetch.
#[arg(short, long)]
end_block: u64,
/// The checkpoint block number. If not provided,
/// the block before the `start_block` is the checkpoint
/// the block before the `start_block` is the checkpoint.
#[arg(short, long)]
checkpoint_block_number: Option<u64>,
},
Extract {
/// Transaction hash
/// Transaction hash.
#[arg(long, short)]
tx: String,
/// Number of transactions in a batch to process at once.
Expand All @@ -63,7 +63,7 @@ pub(crate) struct Cli {
#[clap(flatten)]
pub(crate) config: RpcConfig,

/// Fetch and generate prover input from the RPC endpoint
/// Fetch and generate prover input from the RPC endpoint.
#[command(subcommand)]
pub(crate) command: Command,
}
Expand Down

0 comments on commit 5e9e644

Please sign in to comment.