Getting Error while binding functions which use libff::random_element() #4
Labels
Priority: 2 - High 😰
Should be fixed as quickly as possible, ideally within the current or following sprint
Type: Bug 🐛
Some functionality not working in the codebase as intended
Description
Getting Segmentation fault while binding, functions which use
random_element()
random_element() is defined in Libff: a C++ library for Finite Fields and Elliptic Curves
and it returns a random element of
Fp_model
One of the functions which use
libff::random_element()
is generate_r1cs_example_with_field_input and it is wrapped hereExpected Behavior
The value of
part
should be<5
for the dataarray
={0, 0, 0, 0, 0}
It was tested in libsnark library directly where it was working fine without any error.
System Information
How to test
The following test must pass after solving this error, currently
generate_r1cs_example_with_field_input
is producing the error mentioned above.The text was updated successfully, but these errors were encountered: