Perform curve parameter initialization at start of gtest suite.
This commit is contained in:
@@ -170,8 +170,6 @@ void test_tree(Array root_tests, Array ser_tests, Array witness_ser_tests, Array
|
||||
}
|
||||
|
||||
TEST(merkletree, vectors) {
|
||||
libsnark::default_r1cs_ppzksnark_pp::init_public_params();
|
||||
|
||||
Array root_tests = read_json(std::string(json_tests::merkle_roots, json_tests::merkle_roots + sizeof(json_tests::merkle_roots)));
|
||||
Array ser_tests = read_json(std::string(json_tests::merkle_serialization, json_tests::merkle_serialization + sizeof(json_tests::merkle_serialization)));
|
||||
Array witness_ser_tests = read_json(std::string(json_tests::merkle_witness_serialization, json_tests::merkle_witness_serialization + sizeof(json_tests::merkle_witness_serialization)));
|
||||
|
||||
Reference in New Issue
Block a user