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

Batch verify not working #66

Open
ghost opened this issue Apr 28, 2022 · 5 comments
Open

Batch verify not working #66

ghost opened this issue Apr 28, 2022 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 28, 2022

Thanks for the repo, and it is very cool!
I wanted to try out batch verify but the tests failed. Does it work? Do you have benchmarks of the batch verify circuit?

@rahulghangas
Copy link

@saideng the test is seems to be working for me. What's the error you're getting?

A thing to note, the test will require more than 9-10G of memory, does your machine running the test satisfy that?

@ghost
Copy link
Author

ghost commented Apr 29, 2022

@saideng the test is seems to be working for me. What's the error you're getting?

A thing to note, the test will require more than 9-10G of memory, does your machine running the test satisfy that?

The test case with one signature works, but the test cases with two and three signatures do not work for me. I am using MacBook Pro with 16gb memory.

@jinankjain
Copy link

jinankjain commented Apr 29, 2022

@saideng By any chance is it M1 (Macbook pro)?

@rahulghangas
Copy link

@saideng this is likely a resource issue, the test case with 2 and 3 signatures would require more memory (about 20 and 30G). You can add swap space on your mac and use that to compile the circuits and compute corresponding witnesses. If you're getting a specific error, could you post that so that we can investigate further

@ghost
Copy link
Author

ghost commented May 1, 2022

@jinankjain Yes, it is M1. @rahulghangas I tried to compile a 3 signature batch verify and got # of Constraints: 10953937.

I think this is not scalable unless using recursive construction. Have you tried other tools or libraries for recursive SNARK?

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

No branches or pull requests

2 participants