Skip to content

Commit

Permalink
couple more
Browse files Browse the repository at this point in the history
  • Loading branch information
ledwards2225 committed Sep 21, 2023
1 parent 3c0ce22 commit a06c218
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ constexpr size_t NUM_PROOFS = 3;
* @brief Main function generating a circuit with num_iterations sequential sha256 hashes, where the output of a
* previous iteration is fed into the next one
*
* @param composer
* @param builder
* @param num_iterations
*/
void generate_test_sha256_plonk_circuit(Builder& builder, size_t num_iterations)
Expand Down Expand Up @@ -107,7 +107,7 @@ BENCHMARK(verify_sha256_proof_bench)->DenseRange(0, 2)->Setup(generate_sha256_ve
/**
* @brief Main function for generating Blake 3 circuits
*
* @param composer
* @param builder
* @param num_iterations
*/
void generate_test_blake3s_plonk_circuit(Builder& builder, size_t num_iterations)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ void preprocess_witnesses_bench(State& state) noexcept
composers[idx] = (void*)new Composer();
provers[idx] = ((Composer*)composers[idx])->create_prover(*(Builder*)builders[idx]);
std::cout << "prover subgroup size = " << provers[idx].key->small_domain.size << std::endl;
// printf("num bytes = %" PRIx64 ", num gates = %zu\n", state.range(0), composers[idx].get_num_gates());
}
}
BENCHMARK(preprocess_witnesses_bench)->DenseRange(START_BYTES, MAX_BYTES, BYTES_PER_CHUNK);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ std::array<uint64_t, 8> inner_block(std::array<uint64_t, 64>& w)
// TEST(stdlib_sha256_plookup, test_round)
// {

// auto composer = UltraPlonkBuilder();
// auto builder = UltraPlonkBuilder();

// std::array<uint64_t, 64> w_inputs;
// std::array<proof_system::plonk::stdlib::field_t<proof_system::UltraCircuitBuilder>, 64> w_elements;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ TYPED_TEST(stdlib_bigfield, division_context)
// EXPECT_EQ(result.hi.data[2], 0ULL);
// EXPECT_EQ(result.hi.data[3], 0ULL);
// }
// composer.process_range_lists();
// builder.process_range_lists();
// plonk::PlookupProver prover = composer.create_prover();
// plonk::PlookupVerifier verifier = composer.create_verifier();
// plonk::proof proof = prover.construct_proof();
Expand Down

0 comments on commit a06c218

Please sign in to comment.