From 1267e3955363567ff941a82452fdd3b025d46e4b Mon Sep 17 00:00:00 2001 From: Vasiliy Olekhov Date: Fri, 13 Sep 2024 12:15:54 +0300 Subject: [PATCH] Propagate skip.. parameter to static method #328 --- .../crypto3/zk/snark/systems/plonk/placeholder/prover.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/zk/include/nil/crypto3/zk/snark/systems/plonk/placeholder/prover.hpp b/libs/zk/include/nil/crypto3/zk/snark/systems/plonk/placeholder/prover.hpp index 6fcf1c715c..1d8e38bc81 100644 --- a/libs/zk/include/nil/crypto3/zk/snark/systems/plonk/placeholder/prover.hpp +++ b/libs/zk/include/nil/crypto3/zk/snark/systems/plonk/placeholder/prover.hpp @@ -97,11 +97,12 @@ namespace nil { typename private_preprocessor_type::preprocessed_data_type preprocessed_private_data, const plonk_table_description &table_description, const plonk_constraint_system &constraint_system, - commitment_scheme_type commitment_scheme + commitment_scheme_type commitment_scheme, + bool skip_commitment_scheme_eval_proofs = false ) { auto prover = placeholder_prover( preprocessed_public_data, std::move(preprocessed_private_data), table_description, - constraint_system, commitment_scheme); + constraint_system, commitment_scheme, skip_commitment_scheme_eval_proofs); return prover.process(); } @@ -111,7 +112,7 @@ namespace nil { const plonk_table_description &table_description, const plonk_constraint_system &constraint_system, const commitment_scheme_type &commitment_scheme, - bool skip_commitment_scheme_eval_proofs=false + bool skip_commitment_scheme_eval_proofs = false ) : preprocessed_public_data(preprocessed_public_data) , table_description(table_description)