10#include <gtest/gtest.h>
14#ifdef STARKNET_GARAGA_FLAVORS
15using FlavorTypes = testing::Types<UltraFlavor, UltraKeccakFlavor, UltraRollupFlavor, UltraStarknetFlavor, MegaFlavor>;
17using FlavorTypes = testing::Types<UltraFlavor, UltraKeccakFlavor, UltraRollupFlavor, MegaFlavor>;
27 if constexpr (IsUltraOrMegaHonk<Flavor>) {
30 if constexpr (HasIPAAccumulator<Flavor>) {
59 fr vk_hash_1 =
vk.hash();
63 fr vk_hash_2 =
vk.hash_with_origin_tagging(transcript);
64 EXPECT_EQ(vk_hash_1, vk_hash_2);
typename Flavor::CircuitBuilder Builder
static void SetUpTestSuite()
VerificationKey create_vk()
typename Flavor::VerificationKey VerificationKey
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
ECCVMCircuitBuilder CircuitBuilder
FixedVKAndHash_< PrecomputedEntities< Commitment >, BF, ECCVMHardcodedVKAndHash > VerificationKey
The verification key stores commitments to the precomputed polynomials used by the verifier.
Base Native verification key class.
static size_t calc_num_data_types()
Calculate the number of field elements needed for serialization.
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.
static void add_default(Builder &builder)
Add default public inputs when they are not present.
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(CommitmentKeyTest, Curves)
TYPED_TEST(CommitmentKeyTest, CommitToZeroPoly)
VerifierCommitmentKey< Curve > vk
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept