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

Update lockfiles #1040

Merged
merged 1 commit into from
Nov 9, 2021
Merged

Update lockfiles #1040

merged 1 commit into from
Nov 9, 2021

Conversation

petehunt
Copy link
Contributor

zokrates-js does not currently work in a multithreaded (webworker) environment due to a bug in getrandom: rust-random/getrandom#214.

Deleting the lockfiles and reinstalling fixes the issue.

Hopefully this is accepted, because it's super important to run zokrates-js off of the main thread to ensure a smooth user experience.

@dark64
Copy link
Member

dark64 commented Nov 9, 2021

I think this is an issue of defining self which getrandom uses to determine the environment (node or browser), we actually run zokrates-js successfully in a web worker in the remix plugin. We will gladly accept this if this resolves your issue. Thanks!

@dark64 dark64 merged commit 102b7ef into Zokrates:develop Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants