circom not threadsafe

This commit is contained in:
Jaremy Creechley 2024-05-21 16:02:15 +03:00
parent 325292325d
commit 02542076f2
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -76,7 +76,7 @@ suite "Test Prover":
r1cs = "tests/circuits/fixtures/proof_main.r1cs"
wasm = "tests/circuits/fixtures/proof_main.wasm"
taskpool = Taskpool.new(num_threads = 2)
taskpool = Taskpool.new(num_threads = 6)
params = CircomCompatParams.init(r1cs, wasm)
circomBackend = AsyncCircomCompat.init(params, taskpool)
prover = Prover.new(store, circomBackend, samples)