13#include <gtest/gtest.h>
25using FlavorTypes = testing::Types<UltraRecursiveFlavor_<UltraCircuitBuilder>,
40 using NativeFlavor =
typename Flavor::NativeFlavor;
41 using NativeVerificationKey =
typename NativeFlavor::VerificationKey;
49 if constexpr (IsAnyOf<Flavor, TranslatorRecursiveFlavor, ECCVMRecursiveFlavor>) {
53 using InnerBuilder =
typename NativeFlavor::CircuitBuilder;
56 if constexpr (HasIPAAccumulator<NativeFlavor>) {
65 OuterBuilder outer_builder;
66 StdlibVerificationKey
vk(&outer_builder, native_vk);
69 FF vk_hash_1 =
vk.hash();
73 if constexpr (!IsAnyOf<Flavor, TranslatorRecursiveFlavor, ECCVMRecursiveFlavor>) {
75 FF vk_hash_2 =
vk.hash_with_origin_tagging(
"", transcript);
76 EXPECT_EQ(vk_hash_1.get_value(), vk_hash_2.get_value());
static void SetUpTestSuite()
typename Flavor::NativeFlavor NativeFlavor
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
NativeTranscript Transcript
The recursive counterpart to the "native" Mega flavor.
A ProverInstance is normally constructed from a finalized circuit and it contains all the information...
The recursive counterpart of the native Translator flavor.
The recursive counterpart to the "native" Ultra flavor.
The recursive counterpart to the "native" UltraRollupFlavor.
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(ShpleminiTest, TestSettings)
TYPED_TEST(ShpleminiTest, CorrectnessOfMultivariateClaimBatching)
VerifierCommitmentKey< Curve > vk
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept