22#include <gtest/gtest.h>
36 std::vector<uint32_t>
add_variables(
auto& circuit_builder, std::vector<bb::fr> variables)
38 std::vector<uint32_t> res;
39 for (
auto& variable : variables) {
40 res.emplace_back(circuit_builder.add_variable(variable));
64 Prover prover(prover_instance, verification_key);
Manages the data that is propagated on the public inputs of an application/function circuit.
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
A ProverInstance is normally constructed from a finalized circuit and it contains all the information...
The data that is propagated on the public inputs of a rollup circuit.
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)
typename Flavor::VerificationKey VerificationKey
std::conditional_t< HasIPAAccumulator< Flavor >, RollupIO, DefaultIO > IO
void set_default_pairing_points_and_ipa_claim_and_proof(UltraCircuitBuilder &builder)
void prove_and_verify(typename Flavor::CircuitBuilder &circuit_builder, bool expected_result)
static void SetUpTestSuite()
Output verify_proof(const Proof &proof)
Perform ultra verification.
static void add_default(Builder &builder)
Add default public inputs when they are not present.
static void add_default(Builder &builder)
Add default public inputs when they are not present.
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.