|
30 | 30 | #include <nil/crypto3/algebra/fields/arithmetic_params/pallas.hpp>
|
31 | 31 | #include <nil/crypto3/marshalling/zk/types/commitments/eval_storage.hpp>
|
32 | 32 | #include <nil/crypto3/marshalling/zk/types/commitments/lpc.hpp>
|
33 |
| -#include <nil/crypto3/marshalling/zk/types/placeholder/proof.hpp> |
34 | 33 | #include <nil/crypto3/marshalling/zk/types/placeholder/common_data.hpp>
|
| 34 | +#include <nil/crypto3/marshalling/zk/types/placeholder/proof.hpp> |
35 | 35 | #include <nil/crypto3/marshalling/zk/types/plonk/assignment_table.hpp>
|
36 | 36 | #include <nil/crypto3/marshalling/zk/types/plonk/constraint_system.hpp>
|
37 |
| - |
38 | 37 | #include <nil/crypto3/math/algorithms/calculate_domain_set.hpp>
|
39 | 38 | #include <nil/crypto3/multiprecision/cpp_int.hpp>
|
40 | 39 | #include <nil/crypto3/zk/snark/arithmetization/plonk/constraint_system.hpp>
|
41 | 40 | #include <nil/crypto3/zk/snark/arithmetization/plonk/params.hpp>
|
42 | 41 | #include <nil/crypto3/zk/snark/systems/plonk/placeholder/detail/placeholder_policy.hpp>
|
| 42 | +#include <nil/crypto3/zk/snark/systems/plonk/placeholder/detail/profiling.hpp> |
43 | 43 | #include <nil/crypto3/zk/snark/systems/plonk/placeholder/params.hpp>
|
44 | 44 | #include <nil/crypto3/zk/snark/systems/plonk/placeholder/preprocessor.hpp>
|
45 |
| -#include <nil/crypto3/zk/snark/systems/plonk/placeholder/detail/profiling.hpp> |
46 | 45 | #include <nil/crypto3/zk/snark/systems/plonk/placeholder/proof.hpp>
|
47 | 46 | #include <nil/crypto3/zk/snark/systems/plonk/placeholder/prover.hpp>
|
48 | 47 | #include <nil/crypto3/zk/snark/systems/plonk/placeholder/verifier.hpp>
|
@@ -138,8 +137,8 @@ namespace nil {
|
138 | 137 | , json_file_(json_file)
|
139 | 138 | , lambda_(lambda)
|
140 | 139 | , expand_factor_(expand_factor)
|
141 |
| - , grind_(grind){ |
142 |
| - std::cout << "Global constructor" << std::endl; |
| 140 | + , grind_(grind) { |
| 141 | + std::cout << "Global constructor" << std::endl; |
143 | 142 | }
|
144 | 143 |
|
145 | 144 | bool generate_to_file(bool skip_verification) {
|
@@ -245,8 +244,7 @@ namespace nil {
|
245 | 244 |
|
246 | 245 | private:
|
247 | 246 | using BlueprintField = typename CurveType::base_field_type;
|
248 |
| - using LpcParams = nil::crypto3::zk::commitments:: |
249 |
| - list_polynomial_commitment_params<HashType, HashType, 2>; |
| 247 | + using LpcParams = nil::crypto3::zk::commitments::list_polynomial_commitment_params<HashType, HashType, 2>; |
250 | 248 | using Lpc = nil::crypto3::zk::commitments::list_polynomial_commitment<BlueprintField, LpcParams>;
|
251 | 249 | using LpcScheme = typename nil::crypto3::zk::commitments::lpc_commitment_scheme<Lpc>;
|
252 | 250 | using CircuitParams = nil::crypto3::zk::snark::placeholder_circuit_params<BlueprintField>;
|
@@ -317,9 +315,7 @@ namespace nil {
|
317 | 315 | // Lambdas and grinding bits should be passed threw preprocessor directives
|
318 | 316 | std::size_t table_rows_log = std::ceil(std::log2(table_description_->rows_amount));
|
319 | 317 |
|
320 |
| - fri_params_.emplace( |
321 |
| - FriParams(1, table_rows_log, lambda_, expand_factor_) |
322 |
| - ); |
| 318 | + fri_params_.emplace(FriParams(1, table_rows_log, lambda_, expand_factor_)); |
323 | 319 |
|
324 | 320 | lpc_scheme_.emplace(*fri_params_);
|
325 | 321 |
|
|
0 commit comments