You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently encountering an error when building for the browser. The issue is present in 0.1.0 and 0.1.1, but downgrading to version 0.0.8 resolves the issue. Since I only need to generate a poseidon hash for the moment, I won't debug further but will log the issue in case others encounter something similar.
I am building circomlibjs for web using create-react-app. Unfortunately I do not know what underlying system bundles the JS for web.
Ok I managed to track down this issue to being related to an older version of ffjavascript. Looks like in the currently used version, ffjavascript expects wasm to be delivered as base64. It then tries to convert that base64 to a buffer. Unfortunately, circomlibjs is already delivering a buffer & so it crashes.
In the latest version of ffjavascript, buildThreadManager expects the wasm to be delivered as a buffer so there is no crash.
I'm currently encountering an error when building for the browser. The issue is present in
0.1.0
and0.1.1
, but downgrading to version0.0.8
resolves the issue. Since I only need to generate a poseidon hash for the moment, I won't debug further but will log the issue in case others encounter something similar.I am building circomlibjs for web using
create-react-app
. Unfortunately I do not know what underlying system bundles the JS for web.I am using circomlibjs as follows:
The result is the following error:
The text was updated successfully, but these errors were encountered: