9#include <gtest/gtest.h>
19#ifdef STARKNET_GARAGA_FLAVORS
21 testing::Types<VKTestParams<UltraFlavor, stdlib::recursion::honk::DefaultIO<UltraCircuitBuilder>>,
28 testing::Types<VKTestParams<UltraFlavor, stdlib::recursion::honk::DefaultIO<UltraCircuitBuilder>>,
36 using Flavor =
typename Params::Flavor;
37 using IO =
typename Params::IO;
61 using Flavor =
typename TypeParam::Flavor;
67 fr vk_hash_1 =
vk.hash();
71 fr vk_hash_2 =
vk.hash_with_origin_tagging(transcript);
72 EXPECT_EQ(vk_hash_1, vk_hash_2);
85 using Flavor =
typename TypeParam::Flavor;
typename Flavor::CircuitBuilder Builder
typename Params::Flavor Flavor
typename Flavor::VerificationKey VerificationKey
VerificationKey create_vk()
static void SetUpTestSuite()
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.
Contains all the information required by a Honk prover to create a proof, constructed from a finalize...
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
testing::Types< VKTestParams< UltraFlavor, stdlib::recursion::honk::DefaultIO< UltraCircuitBuilder > >, VKTestParams< UltraFlavor, stdlib::recursion::honk::RollupIO >, VKTestParams< UltraKeccakFlavor, stdlib::recursion::honk::DefaultIO< UltraCircuitBuilder > >, VKTestParams< MegaFlavor, stdlib::recursion::honk::DefaultIO< MegaCircuitBuilder > > > TestTypes