8#include <gtest/gtest.h>
22 .oracle_hash_type =
"poseidon2",
32 EXPECT_EQ(
vk->to_field_elements(), vk_response.fields)
33 <<
"Serialized field elements should match original field elements";
43 EXPECT_EQ(
to_buffer(
vk.to_field_elements()), vk_response.bytes)
44 <<
"Serialized field elements should match original field elements";
ClientIVC-specific command definitions for the Barretenberg RPC API.
static void SetUpTestSuite()
std::pair< std::vector< uint8_t >, std::vector< uint8_t > > create_simple_circuit_bytecode(size_t num_constraints=1)
Helper function to create a minimal circuit bytecode and witness for testing.
TEST_F(BBApiClientIvcTest, StandaloneVerificationKeySerialization)
std::filesystem::path bb_crs_path()
void init_file_crs_factory(const std::filesystem::path &path)
VerifierCommitmentKey< Curve > vk
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
std::vector< uint8_t > to_buffer(T const &value)
Compute IVC verification key for the complete proof.
Compute standalone verification key for a circuit.
bool ipa_accumulation
Optional flag to indicate if the proof should be generated with IPA accumulation (i....