5#include "msgpack/v3/sbuffer_decl.hpp"
6#include <gtest/gtest.h>
29template <
typename T>
class BBApiMsgpack :
public ::testing::Test {};
38 EXPECT_EQ(actual_command, expected_command);
40 typename TypeParam::Response response{};
42 EXPECT_EQ(actual_response, expected_response);
::testing::Types< bbapi::CircuitProve, bbapi::CircuitComputeVk, bbapi::CircuitStats, bbapi::CircuitVerify, bbapi::VkAsFields, bbapi::CircuitWriteSolidityVerifier, bbapi::ClientIvcStart, bbapi::ClientIvcLoad, bbapi::ClientIvcAccumulate, bbapi::ClientIvcProve, bbapi::ClientIvcComputeStandaloneVk, bbapi::ClientIvcComputeIvcVk, bbapi::ClientIvcCheckPrecomputedVk > Commands
TYPED_TEST_SUITE(BBApiMsgpack, Commands)
TYPED_TEST(BBApiMsgpack, DefaultConstructorRoundtrip)
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
std::string msgpack_schema_to_string(const auto &obj)
Print's an object's derived msgpack schema as a string.
Represents a request to generate a proof. Currently, UltraHonk is the only proving system supported b...
Consolidated command for retrieving circuit information. Combines gate count, circuit size,...
Verify a proof against a verification key and public inputs.
Command to generate Solidity verifier contract.
Accumulate the previously loaded circuit into the IVC proof.
Verify that a precomputed verification key matches the circuit.
Compute IVC verification key for the complete proof.
Compute standalone verification key for a circuit.
Load a circuit into the ClientIVC instance for accumulation.
Generate a proof for all accumulated circuits.
Initialize a new ClientIVC instance for incremental proof accumulation.
Convert a verification key to field elements representation. WORKTODO(bbapi): this should become most...
std::pair< T, T > msgpack_roundtrip(const T &object)