11void avm_prove([[maybe_unused]]
const std::filesystem::path& inputs_path,
12 [[maybe_unused]]
const std::filesystem::path& output_path)
14 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
19 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
22bool avm_verify([[maybe_unused]]
const std::filesystem::path& proof_path,
23 [[maybe_unused]]
const std::filesystem::path& public_inputs_path)
25 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
28void avm_simulate([[maybe_unused]]
const std::filesystem::path& inputs_path)
30 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
35 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
40 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
44 [[maybe_unused]] std::vector<uint8_t> public_inputs)
46 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
51 throw_or_abort(
"AVM is not supported in this build. Use the 'bb-avm' binary with full AVM support.");
Entry point for Barretenberg command-line interface.
bool avm_check_circuit_from_bytes(std::vector< uint8_t > inputs)
Check the AVM circuit from serialized inputs (msgpack bytes).
void avm_simulate(const std::filesystem::path &inputs_path)
Simulates an public transaction.
bool avm_verify_from_bytes(std::vector< bb::fr > proof, std::vector< uint8_t > public_inputs)
Verify an AVM proof from serialized data.
bool avm_verify(const std::filesystem::path &proof_path, const std::filesystem::path &public_inputs_path)
Verifies an avm proof and writes the result to stdout.
void avm_write_verification_key(const std::filesystem::path &output_path)
Writes an avm (incomplete) verification key to a file.
AvmProveResult avm_prove_from_bytes(std::vector< uint8_t > inputs)
Prove an AVM transaction from serialized inputs (msgpack bytes). Callers that need to verify the proo...
void avm_prove(const std::filesystem::path &inputs_path, const std::filesystem::path &output_path)
Writes an avm proof to a file.
void avm_check_circuit(const std::filesystem::path &inputs_path)
Stub - throws runtime error if called.
void throw_or_abort(std::string const &err)