NilFoundation / zkLLVM

Zero-Knowledge Proof Systems Circuit Compiler
https://docs.nil.foundation/zkllvm
273 stars 44 forks source link

[Possible bug] All tests should work in Release mode #619

Open AndreyMlashkin opened 3 days ago

AndreyMlashkin commented 3 days ago

Describe the bug After crypto3 update, some tests stopped working in Release mode, which should be fixed

To Reproduce nix develop .?submodules=1# -c cmake -G Ninja -B build -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=Release -DCMAKE_ENABLE_TESTS=TRUE -DGENERATE_EVM_VERIFIER=TRUE -DZKLLVM_VERSION=0.1.18 nix develop -c ninja -C build -k 0 cpp_examples_generate_crct arithmetics_cpp_example

Expected behavior All tests shall be successfull in CI - change -DCMAKE_BUILD_TYPE=Debug to Release