dusk-network/plonk

failing tests in logic.rs

lufa23 opened this issue · 2 comments

Describe the bug
When launching cargo test --verbose logic (which triggers plonk/target/debug/deps/logic-753ea9797f2d8be9 logic`) , i get two failing tests:

  • test append_logic_xor
  • test append_logic_xor

Failures:


---- append_logic_and stdout ----
thread 'append_logic_and' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`', /home/usuario/Desktop/rust_desktop/plonk-1/plonk/src/composer.rs:132:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- append_logic_xor stdout ----
thread 'append_logic_xor' panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`', /home/usuario/Desktop/rust_desktop/plonk-1/plonk/src/composer.rs:132:9


Thanks for reporting @lufa23.

It seems that the tests pass when running in release mode:

cargo test --release logic

but fail when run in debug mode:

cargo test logic

We will investigate why this happens.

I created a tracking issue #763 for this and #758