-
Notifications
You must be signed in to change notification settings - Fork 153
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
Use snarkjs API and remove the hardcoding of the snarkjs command line path #782
Use snarkjs API and remove the hardcoding of the snarkjs command line path #782
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks so much for this.
Gonna first get this PR #775 merged - once we have a properly working CI we can then merge this too
@yuetloo can you please pull latest dev updates into this branch? that way we can see if all tests run correctly (we fixed some small bugs in the e2e tests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@ctrlc03 , merged with the latest dev branch and passed integrationTests/test-suits |
There are a few error in Integration Test. Failure one
Failure two
|
This will fix #514
Tested this PR with:
Note that the snarkjs.d.ts was added because
@types/snarkjs
doesn't work due to a typo causingpath not found
error. If the issue was fixed, the snarkjs.d.ts file can be removed and simply import the@types/snarkjs
typesI also increased the poll duration in order for the integration tests to pass as they were failing due to the voting period being too short. This could mean that the changes introduced in this PR made the tests slower because they had to wait for threads to end as opposed to previously just being killed at the end of the snarkjs command line.