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: for i in 1..nn:
block: block:
let t0 = epochTime() let t0 = epochTime()
`blk` # `blk`
let elapsed = epochTime() - t0 let elapsed = epochTime() - t0
vals.add elapsed vals.add elapsed

View File

@ -29,10 +29,10 @@ var
"vendor" / "codex-storage-proofs-circuits" / "reference" / "nim" / "proof_input" / "vendor" / "codex-storage-proofs-circuits" / "reference" / "nim" / "proof_input" /
"cli" "cli"
circuitDirIncludes = "vendor" / "codex-storage-proofs-circuits" / "circuit" circuitDirIncludes = "vendor" / "codex-storage-proofs-circuits" / "circuit"
ptauDefPath = "benchmarks" / "ceremony" / "powersOfTau28_hez_final_21.ptau" ptauDefPath = "benchmarks" / "ceremony" / "powersOfTau28_hez_final_23.ptau"
ptauDefUrl = ptauDefUrl =
# "https://storage.googleapis.com/zkevm/ptau/powersOfTau28_hez_final_21.ptau" # "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 = "" codexProjDir = ""
proc checkEnv*() = proc checkEnv*() =
@ -127,7 +127,7 @@ proc createCircuit*(
circBenchDir = getCircuitBenchPath(args), circBenchDir = getCircuitBenchPath(args),
circuitDirIncludes = circuitDirIncludes, circuitDirIncludes = circuitDirIncludes,
ptauPath = ptauDefPath, ptauPath = ptauDefPath,
ptauUrl = ptauDefUrl, ptauUrl = ptauDefUrl & "/" & ptauDefPath.splitPath.tail,
someEntropy = "some_entropy_75289v3b7rcawcsyiur", someEntropy = "some_entropy_75289v3b7rcawcsyiur",
): tuple[dir: string, name: string] = ): tuple[dir: string, name: string] =
## Generates all the files needed for to run a proof circuit. Downloads the PTAU file if needed. ## Generates all the files needed for to run a proof circuit. Downloads the PTAU file if needed.