Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstam committed Dec 20, 2024
1 parent 60dfcca commit 017490b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/sdk/src/network/prove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ impl<'a> NetworkProveBuilder<'a> {
/// the simulation step locally.
///
/// The cycle limit ensures that a prover on the network will stop generating a proof once the
/// cycle limit is reached, which prevents DoS attacks.
/// cycle limit is reached, which prevents `DoS` attacks.
///
/// # Example
/// ```rust,no_run
Expand Down
4 changes: 2 additions & 2 deletions crates/sdk/src/network/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ impl NetworkProver {
}
}

/// Requests a proof from the prover network.
#[allow(clippy::too_many_arguments)]
pub(crate) async fn request_proof_impl(
&self,
pk: &SP1ProvingKey,
Expand All @@ -298,7 +298,7 @@ impl NetworkProver {
self.request_proof(&vk_hash, stdin, mode.into(), strategy, cycle_limit, timeout).await
}

/// Requests a proof from the prover network and waits for it to be generated.
#[allow(clippy::too_many_arguments)]
pub(crate) async fn prove_impl(
&self,
pk: &SP1ProvingKey,
Expand Down
2 changes: 1 addition & 1 deletion examples/fibonacci/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn main() {

// Generate the proof for the given program and input.
let (pk, vk) = client.setup(ELF);
let proof = client.prove(&pk, &stdin).run().unwrap();
let mut proof = client.prove(&pk, &stdin).run().unwrap();

println!("generated proof");

Expand Down

0 comments on commit 017490b

Please sign in to comment.