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

fix current_dir() call when using wasm generation #37

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

dmpierre
Copy link
Contributor

This is a proposed pr to get the in-browser proof generation example to work locally.

When targetting wasm create_recursive_circuit calls current_dir().unwrap(). The built wasm which will be packaged will fail to generate the proof, since current_dir() is not supported in the browser.

Also, it could be nice to make WEBSITE_ROOT a parameter? So that the generated wasm is agnostic to where r1cs and wasm files are located. Will open a PR if this is of interest :)

Tangential: the example app seems down as of now?

@nalinbhardwaj nalinbhardwaj merged commit 54f2bdb into nalinbhardwaj:main Sep 7, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants