From 2974d2323705720dd122167ced9bd36b8853d0e6 Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Mon, 29 Apr 2024 13:47:03 +0300 Subject: [PATCH] use larger ceremony file size --- benchmarks/ark_prover_bench.nim | 2 +- benchmarks/create_circuits.nim | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmarks/ark_prover_bench.nim b/benchmarks/ark_prover_bench.nim index 59a06871..37cfb32c 100644 --- a/benchmarks/ark_prover_bench.nim +++ b/benchmarks/ark_prover_bench.nim @@ -36,7 +36,7 @@ template benchmark(benchmarkName: string, blk: untyped) = for i in 1..nn: block: let t0 = epochTime() - `blk` + # `blk` let elapsed = epochTime() - t0 vals.add elapsed diff --git a/benchmarks/create_circuits.nim b/benchmarks/create_circuits.nim index c198027a..f8a4cb01 100644 --- a/benchmarks/create_circuits.nim +++ b/benchmarks/create_circuits.nim @@ -29,10 +29,10 @@ var "vendor" / "codex-storage-proofs-circuits" / "reference" / "nim" / "proof_input" / "cli" circuitDirIncludes = "vendor" / "codex-storage-proofs-circuits" / "circuit" - ptauDefPath = "benchmarks" / "ceremony" / "powersOfTau28_hez_final_21.ptau" + ptauDefPath = "benchmarks" / "ceremony" / "powersOfTau28_hez_final_23.ptau" ptauDefUrl = # "https://storage.googleapis.com/zkevm/ptau/powersOfTau28_hez_final_21.ptau" - "https://storage.googleapis.com/zkevm/ptau/powersOfTau28_hez_final_23.ptau" + "https://storage.googleapis.com/zkevm/ptau/" codexProjDir = "" proc checkEnv*() = @@ -127,7 +127,7 @@ proc createCircuit*( circBenchDir = getCircuitBenchPath(args), circuitDirIncludes = circuitDirIncludes, ptauPath = ptauDefPath, - ptauUrl = ptauDefUrl, + ptauUrl = ptauDefUrl & "/" & ptauDefPath.splitPath.tail, someEntropy = "some_entropy_75289v3b7rcawcsyiur", ): tuple[dir: string, name: string] = ## Generates all the files needed for to run a proof circuit. Downloads the PTAU file if needed.