Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ultra_execution_trace_generated.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE — do not edit. Regenerate via:
2// node barretenberg/cpp/scripts/flavor-codegen/dist/main.js
3//
4// Source: barretenberg/cpp/scripts/flavor-codegen/src/flavors/ultra.ts
5#pragma once
6
7#include <array>
8#include <cstddef>
9#include <string_view>
10#include <vector>
11
16
17namespace bb {
18
20
23
33
34 static constexpr size_t NUM_BLOCKS = 9;
35
37 {
38 return {
39 "pub_inputs", "lookup", "arithmetic", "delta_range", "elliptic",
40 "memory", "nnf", "poseidon2_external", "poseidon2_internal",
41 };
42 }
43
58
73
74 void summarize() const
75 {
76 info("Gate blocks summary:");
77 info("pub_inputs : ", this->pub_inputs.size());
78 info("lookup : ", this->lookup.size());
79 info("arithmetic : ", this->arithmetic.size());
80 info("delta_range : ", this->delta_range.size());
81 info("elliptic : ", this->elliptic.size());
82 info("memory : ", this->memory.size());
83 info("nnf : ", this->nnf.size());
84 info("poseidon2_external : ", this->poseidon2_external.size());
85 info("poseidon2_internal : ", this->poseidon2_internal.size());
86 }
87
88 bool operator==(const UltraTraceBlockData& other) const = default;
89};
90
91} // namespace bb
A template class for a reference array. Behaves as if std::array<T&, N> was possible.
Definition ref_array.hpp:23
#define info(...)
Definition log.hpp:93
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
ExecutionTraceBlock< fr, 4 > UltraTraceBlock
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
std::vector< std::string_view > get_labels() const
bool operator==(const UltraTraceBlockData &other) const =default