Closed brianblank closed 4 months ago
Hey @brianblank !
You can find more information about this issue and how to solve it here: https://github.com/semaphore-protocol/semaphore/issues/579#issuecomment-1906740091
I think we should add it to the troubleshooting page in the docs. Thank you very much for pointing it out.
I think the bn128
curve needs to be terminated explicitly. An example here: https://github.com/semaphore-protocol/semaphore/blob/a522fff4483e0409afbeb7ae85de24f4506c9ec0/packages/proof/tests/index.test.ts#L24
We'll close this issue as duplicate: https://github.com/semaphore-protocol/semaphore/issues/318
Describe the bug Upon calling generateProof(), while the function returns with a valid answer, the program never exits back to the OS upon completion.
To Reproduce This program produces the problem. Note I commented out the last two lines to identify which call is causing the issue. I'm including it for completeness.
Expected behavior After completion of the code, the program should return back to the Operating System.
Screenshots
Here is a sample execution of the program. Note the "^C" at the end which is me forcing exit of the program which is stuck indefinitely.
Technologies (please complete the following information):
Additional context The code was derived from documentation in your getting started guide here: https://docs.semaphore.pse.dev/guides/identities