Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for wtns calc and prover options #517

Merged
merged 12 commits into from
Oct 18, 2024
Merged

Conversation

OBrezhniev
Copy link
Member

@OBrezhniev OBrezhniev commented Aug 16, 2024

Support passing witness calc & prover options:

  • Pass memorySize option to witness calc
  • Pass singleTread option to prover

Other updates:

  • Update deps (including circom_runtime which supports memorySize option)
  • Fix puppeteer tests on GitHub

@OBrezhniev OBrezhniev changed the title Support for wtns calc memSize option Support for wtns calc memorySize option Aug 16, 2024
@OBrezhniev OBrezhniev marked this pull request as ready for review August 29, 2024 21:28
@OBrezhniev OBrezhniev requested a review from Kolezhniuk August 29, 2024 21:36
package.json Outdated Show resolved Hide resolved
src/wtns_debug.js Show resolved Hide resolved
src/wtns_debug.js Outdated Show resolved Hide resolved
ichub and others added 4 commits September 7, 2024 16:20
…ough to 'wtns_calculate' (#519)

* chore: add 'options' parameter to 'groth16FullProve', and pass it through to 'wtns_calculate'

* options -> wtnsCalcOptions

* also add wtnsCalcOptions argument to plonk_full_prove and fflonk_full_prove
Kolezhniuk
Kolezhniuk previously approved these changes Sep 9, 2024
# Conflicts:
#	build/browser.esm.js
#	build/cli.cjs
#	build/main.cjs
#	build/snarkjs.js
#	build/snarkjs.min.js
Kolezhniuk
Kolezhniuk previously approved these changes Sep 10, 2024
@rrrliu
Copy link

rrrliu commented Oct 7, 2024

hey @Kolezhniuk @OBrezhniev 👋 checking in on this here, are we good to merge here?

this change would be super helpful for our app, which needs the memorySize option to ensure proving doesn't crash on mobile browsers :)

@OBrezhniev
Copy link
Member Author

Yes, I hope a final review and release would happen next week.

* Trying to fix puppeteer

* Disable the sandbox to run in GHA
@OBrezhniev OBrezhniev requested a review from Kolezhniuk October 14, 2024 21:41
Kolezhniuk
Kolezhniuk previously approved these changes Oct 16, 2024
* Allow passing prover options. First one is singleThread param for curve threadManager.

* Verify proofs for both multithreaded and singlethreaded generation
@OBrezhniev OBrezhniev changed the title Support for wtns calc memorySize option Support for wtns calc and prover options Oct 16, 2024
@rrrliu
Copy link

rrrliu commented Oct 18, 2024

thanks for the review @Kolezhniuk -- excited for the release!

@jbaylina jbaylina merged commit 99eb19e into master Oct 18, 2024
13 checks passed
@jbaylina jbaylina deleted the feature/wtns-memSize-option branch October 18, 2024 09:09
@OBrezhniev
Copy link
Member Author

Hi @rrrliu , it's merged and released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants