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

Constraint trace requires enabling ConstraintLayer #2

Closed
albttx opened this issue Feb 10, 2022 · 2 comments
Closed

Constraint trace requires enabling ConstraintLayer #2

albttx opened this issue Feb 10, 2022 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@albttx
Copy link
Owner

albttx commented Feb 10, 2022

Constraint trace requires enabling `ConstraintLayer`
thread 'main' panicked at 'assertion failed: {
    use ark_relations::r1cs::{ConstraintSynthesizer, ConstraintSystem};
    let cs = ConstraintSystem::<E::Fr>::new_ref();
    circom.clone().generate_constraints(cs.clone()).unwrap();
    cs.is_satisfied().unwrap()
}',
/home/albttx/.cargo/git/checkouts/ark-circom-4b320b422980d7a5/eb53e6e/src/circom/builder.rs:82:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@albttx albttx added bug Something isn't working help wanted Extra attention is needed labels Feb 10, 2022
@albttx
Copy link
Owner Author

albttx commented Feb 10, 2022

Error come from the circom circuits

@albttx albttx closed this as completed Feb 11, 2022
@oskarth
Copy link

oskarth commented Feb 25, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants