Skip to content

Commit

Permalink
stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas committed Dec 19, 2024
1 parent d38a21f commit 5096034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ mod tests {
stdin.write(&10usize);

// Generate proof & verify.
let mut proof = client.prove(&pk, stdin).compressed().run().unwrap();
let mut proof = client.prove(&pk, &stdin).compressed().run().unwrap();
client.verify(&proof, &vk).unwrap();

// Test invalid public values.
Expand All @@ -157,7 +157,7 @@ mod tests {
stdin.write(&10usize);

// Generate proof & verify.
let mut proof = client.prove(&pk, stdin).plonk().run().unwrap();
let mut proof = client.prove(&pk, &stdin).plonk().run().unwrap();
client.verify(&proof, &vk).unwrap();

// Test invalid public values.
Expand All @@ -175,7 +175,7 @@ mod tests {
let (pk, vk) = client.setup(elf);
let mut stdin = SP1Stdin::new();
stdin.write(&10usize);
let proof = client.prove(&pk, stdin).plonk().run().unwrap();
let proof = client.prove(&pk, &stdin).plonk().run().unwrap();
client.verify(&proof, &vk).unwrap();
}
}

0 comments on commit 5096034

Please sign in to comment.