21#include <gtest/gtest.h>
27template <
typename Flavor,
typename IO_ = DefaultIO>
class UltraHonkTests :
public ::testing::Test {
35 std::vector<uint32_t>
add_variables(
auto& circuit_builder, std::vector<bb::fr> variables)
37 std::vector<uint32_t> res;
38 for (
auto& variable : variables) {
39 res.emplace_back(circuit_builder.add_variable(variable));
59 Prover prover(prover_instance, verification_key);
FixedVKAndHash_< PrecomputedEntities< Commitment >, BF, ECCVMHardcodedVKAndHash > VerificationKey
The verification key stores commitments to the precomputed polynomials used by the verifier.
A ProverInstance is normally constructed from a finalized circuit and it contains all the information...
static void SetUpTestSuite()
std::vector< uint32_t > add_variables(auto &circuit_builder, std::vector< bb::fr > variables)
void prove_and_verify(const std::shared_ptr< ProverInstance > &prover_instance, bool expected_result)
void prove_and_verify(typename Flavor::CircuitBuilder &circuit_builder, bool expected_result)
typename Flavor::VerificationKey VerificationKey
void set_default_pairing_points_and_ipa_claim_and_proof(typename Flavor::CircuitBuilder &builder)
Output verify_proof(const Proof &proof)
Perform ultra verification.
Base class templates for structures that contain data parameterized by the fundamental polynomials of...
std::filesystem::path bb_crs_path()
void init_file_crs_factory(const std::filesystem::path &path)
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
An object storing two EC points that represent the inputs to a pairing check.