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

calculateWitness() does not emit an error if there are missing inputs #7

Open
weijiekoh opened this issue Dec 30, 2020 · 0 comments
Open

Comments

@weijiekoh
Copy link

The following code runs without an error:

const wc = await WitnessCalculatorBuilder(wasm, options)
const witness = await wc.calculateWitness( { }, true)

The circuit in question, however, has three public input signals. calculateWitness should emit an error if any of the signals is not provided.

See https://github.com/weijiekoh/circom_runtime_bug for a demonstration of this error.

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

No branches or pull requests

1 participant