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

Transition Circom tests to WASM #52

Open
norswap opened this issue Jun 14, 2023 · 8 comments
Open

Transition Circom tests to WASM #52

norswap opened this issue Jun 14, 2023 · 8 comments

Comments

@norswap
Copy link
Member

norswap commented Jun 14, 2023

Currently we test the Circom circuits using circom-helper which generates the proofs in C++.

circom-helper doesn't seem to work with Mac (I tried hacking this to work a whole lot to no avail). While it's certainly ultimately possible, it's not really worth the effort.

Instead, we should use the wasm provers, which works cross-platform, and is ultimately what we will use in production. Also an important part of designing/testing zk circuits is ascertaining their performance, and circom-helper goes a lot faster than WASM, hence the need to run them with WASM anyway.

@GrapeBaBa
Copy link

i would like to try this one

@norswap
Copy link
Member Author

norswap commented Jul 9, 2023

Excellent, go for it :)

@MatteoMer
Copy link

MatteoMer commented Jul 10, 2023

While this ticket is in progress, if anyone needs a way to make circom-helper working on mac m1, I downgraded node to v14.19.1 using nvm and downgraded python to python3.10 and it worked! (for me at least)

But this is indeed not viable at all lol

@norswap
Copy link
Member Author

norswap commented Jul 11, 2023 via email

@postmeback
Copy link

Any update on this?

@norswap
Copy link
Member Author

norswap commented Jul 25, 2023

@postmeback Haven't heard from @GrapeBaBa on this yet. Are you interested in helping out, or reusing some kind of testing setup? Let us know!

@postmeback
Copy link

Thanks for mentioning me, I am interested in helping out. I want to upskill myself in solidity, hopefully this project can help me.
@norswap .

@norswap
Copy link
Member Author

norswap commented Jul 28, 2023

@postmeback This project does not really involve Solidity at all however 😅
If you're interested, go for it though, @GrapeBaBa told me he's busy with some stuff at the moment.

@norswap norswap self-assigned this Oct 22, 2023
@norswap norswap removed their assignment Feb 14, 2024
@norswap norswap added the ODHack label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants