12#include <gtest/gtest.h>
16#ifdef STARKNET_GARAGA_FLAVORS
26 testing::Types<UltraFlavor, UltraKeccakFlavor, UltraRollupFlavor, MegaFlavor, ECCVMFlavor, TranslatorFlavor>;
36 if constexpr (IsUltraOrMegaHonk<Flavor>) {
39 if constexpr (HasIPAAccumulator<Flavor>) {
68 fr vk_hash_1 =
vk.hash();
72 if constexpr (!IsAnyOf<Flavor, ECCVMFlavor, TranslatorFlavor>) {
74 fr vk_hash_2 =
vk.hash_with_origin_tagging(
"", transcript);
75 EXPECT_EQ(vk_hash_1, vk_hash_2);
93 EXPECT_EQ(
vk.to_field_elements().size(), VerificationKey::calc_num_data_types());
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...
The verification key is responsible for storing the commitments to the precomputed (non-witnessk) pol...
ECCVMCircuitBuilder CircuitBuilder
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.
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)
VerifierCommitmentKey< Curve > vk
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept