dusk-network / plonk

Pure Rust implementation of the PLONK ZKProof System done by the Dusk team

Home Page:https://dusk-network.github.io/plonk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failing tests in logic.rs

lufa23 opened this issue · comments

commented

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


commented

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.

commented

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