17#include <gtest/gtest.h>
31#ifdef STARKNET_GARAGA_FLAVORS
32using FlavorTypes = testing::Types<UltraFlavor, UltraKeccakFlavor, UltraStarknetFlavor, MegaFlavor>;
34using FlavorTypes = testing::Types<UltraFlavor, UltraKeccakFlavor, MegaFlavor>;
41 using Builder =
typename TestFixture::Builder;
55 std::vector<uint8_t> vkey_buffer =
to_buffer(original_vkey);
56 VerificationKey deserialized_vkey = from_buffer<VerificationKey>(vkey_buffer);
59 EXPECT_EQ(original_vkey, deserialized_vkey);
typename Flavor::CircuitBuilder Builder
static void SetUpTestSuite()
typename Flavor::VerificationKey VerificationKey
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
ECCVMCircuitBuilder CircuitBuilder
static void add_arithmetic_gates_with_public_inputs(Builder &builder, const size_t num_gates=4)
Add a specified number of arithmetic gates (with public inputs) to the provided circuit.
A ProverInstance is normally constructed from a finalized circuit and it contains all the information...
static void add_default(Builder &builder)
Add default public inputs when they are not present.
UltraKeccakFlavor::VerificationKey VerificationKey
std::filesystem::path bb_crs_path()
void init_file_crs_factory(const std::filesystem::path &path)
Entry point for Barretenberg command-line interface.
TYPED_TEST_SUITE(ShpleminiTest, TestSettings)
TYPED_TEST(ShpleminiTest, CorrectnessOfMultivariateClaimBatching)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
std::vector< uint8_t > to_buffer(T const &value)