Skip to content

Commit

Permalink
bump rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
ctian1 committed Jan 2, 2025
1 parent a16af20 commit e43908e
Show file tree
Hide file tree
Showing 3 changed files with 249 additions and 219 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ jobs:
SP1_PROVER: network
SP1_PRIVATE_KEY: ${{ secrets.SP1_PRIVATE_KEY }}
NETWORK_PRIVATE_KEY: ${{ secrets.NETWORK_PRIVATE_KEY }}
NETWORK_RPC_URL: "https://rpc.production2.succinct.tools"
NETWORK_RPC_URL: "https://rpc.temp.succinct.tools"
10 changes: 5 additions & 5 deletions crates/perf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,21 +192,21 @@ fn main() {
}
ProverMode::Network => {
let prover = ProverClient::builder().network().build();
let (_, _) = time_operation(|| prover.execute(&elf, &stdin));
// let (_, _) = time_operation(|| prover.execute(&elf, &stdin));

let prover = ProverClient::builder().network().build();
// let prover = ProverClient::builder().network().build();

let (_, _) = time_operation(|| prover.execute(&elf, &stdin));
// let (_, _) = time_operation(|| prover.execute(&elf, &stdin));

let use_groth16: bool = rand::thread_rng().gen();
if use_groth16 {
let (proof, _) =
time_operation(|| prover.prove(&pk, &stdin).groth16().run().unwrap());
time_operation(|| prover.prove(&pk, &stdin).skip_simulation(true).groth16().run().unwrap());

let (_, _) = time_operation(|| prover.verify(&proof, &vk));
} else {
let (proof, _) =
time_operation(|| prover.prove(&pk, &stdin).plonk().run().unwrap());
time_operation(|| prover.prove(&pk, &stdin).skip_simulation(true).plonk().run().unwrap());

let (_, _) = time_operation(|| prover.verify(&proof, &vk));
}
Expand Down
Loading

0 comments on commit e43908e

Please sign in to comment.