0xFable icon indicating copy to clipboard operation
0xFable copied to clipboard

Transition Circom tests to WASM

Open norswap opened this issue 2 years ago • 14 comments

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.

norswap avatar Jun 14 '23 14:06 norswap

i would like to try this one

GrapeBaBa avatar Jul 09 '23 12:07 GrapeBaBa

Excellent, go for it :)

norswap avatar Jul 09 '23 15:07 norswap

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

MatteoMer avatar Jul 10 '23 10:07 MatteoMer

Oh wow, good to know!

If it turns out we require faster than wasm testing, there are two other projects that might work: circom-tester and circomkit (no link because I'm on mobile & it's a hassle, might edit later)

On Mon, Jul 10, 2023, 19:17 Matteo @.***> wrote:

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!

But this is indeed not viable at all lol

— Reply to this email directly, view it on GitHub https://github.com/norswap/0xFable/issues/52#issuecomment-1628652830, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABRLP6U46KI633ER2EAUY3XPPJDTANCNFSM6AAAAAAZGPRKJM . You are receiving this because you authored the thread.Message ID: @.***>

norswap avatar Jul 11 '23 03:07 norswap

Any update on this?

postmeback avatar Jul 18 '23 17:07 postmeback

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

norswap avatar Jul 25 '23 12:07 norswap

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

postmeback avatar Jul 27 '23 16:07 postmeback

@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 avatar Jul 28 '23 17:07 norswap

I’d like to work on this.

knownothing10 avatar Dec 11 '24 13:12 knownothing10

May I try my hand at this?

VyuduInc avatar Dec 29 '24 03:12 VyuduInc

Would love to contribute here , given my experience as a JavaScript and Typescript developer working in the Web3 space for over a year.

PrathamJha1 avatar Jan 04 '25 09:01 PrathamJha1

Is it okay if I take this?

Aamirmahdiy avatar Jan 19 '25 17:01 Aamirmahdiy

Can I jump on this task?

chiscookeke11 avatar Jan 22 '25 16:01 chiscookeke11

Can I start working on this?

wengDavo avatar Jan 29 '25 23:01 wengDavo