Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
circuit_checker.hpp
Go to the documentation of this file.
1#pragma once
4
5// TODO(https://github.com/AztecProtocol/barretenberg/issues/928): Reorganize
6
7namespace bb {
8template <typename T>
10
16 public:
17 template <typename Builder> static bool check(const Builder& builder)
18 {
19 static_assert(IsCheckable<Builder>);
22 } else {
23 return false;
24 }
25 }
26};
27
28} // namespace bb
The unified interface for check circuit functionality implemented in the specialized CircuitChecker c...
static bool check(const Builder &builder)
static bool check(const Builder &builder_in)
Check the correctness of a circuit witness.
AluTraceBuilder builder
Definition alu.test.cpp:123
Entry point for Barretenberg command-line interface.