use larger ceremony file size

This commit is contained in:
Jaremy Creechley 2024-04-29 13:47:03 +03:00
parent b548a09131
commit 2974d23237
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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.