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: Remove bfj & fs calls from core logic to restore browser builds #356

Merged
merged 1 commit into from
May 6, 2023

Conversation

phated
Copy link
Contributor

@phated phated commented May 1, 2023

This fixes the browser builds by properly separating the filesystem logic from the core logic. It seems that when @xavi-pinsach implemented fflonk, he didn't know that fs and bfj can only be used in the CLI and instead implemented something called "cmds" and pulled them into the core logic. This completely broke browser builds.

I've changed all this code to have the core logic be free of these imports and dropped the concept of "cmds"

Closes #317

@phated phated requested review from jbaylina and xavi-pinsach May 1, 2023 00:20
@phated phated force-pushed the phated/fix-browser branch from 6071c10 to 5530a35 Compare May 6, 2023 22:09
@phated phated force-pushed the phated/fix-browser branch from 5530a35 to a3689e9 Compare May 6, 2023 22:44
@phated phated merged commit 570cb07 into master May 6, 2023
@phated phated deleted the phated/fix-browser branch May 6, 2023 23:02
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.

snarkjs.min.js: Uncaught TypeError: bn.inherits is not a function
1 participant