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

Cannot pass in false in Prover.toml #889

Closed
jfecher opened this issue Feb 21, 2023 · 0 comments · Fixed by #893
Closed

Cannot pass in false in Prover.toml #889

jfecher opened this issue Feb 21, 2023 · 0 comments · Fixed by #893
Labels
bug Something isn't working

Comments

@jfecher
Copy link
Contributor

jfecher commented Feb 21, 2023

Description

Aim

Running a program with the following Prover.toml:

x = false

And main.nr:

fn main(x: bool) {
    constrain x;
}

Produces the following error:

The parameter x is expected to be a Boolean but found incompatible value Field(0)
exit 1

Expected behavior

The program to run, but fail to prove/verify.

@jfecher jfecher added the bug Something isn't working label Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant