|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
A container indexed by the types of the blocks in the execution trace. More...
#include <mega_execution_trace.hpp>
Public Member Functions | |
| std::vector< std::string_view > | get_labels () const |
| auto | get () |
| auto | get () const |
| auto | get_gate_blocks () const |
| bool | operator== (const MegaTraceBlockData &other) const =default |
Static Public Attributes | |
| static constexpr size_t | NUM_BLOCKS = 11 |
A container indexed by the types of the blocks in the execution trace.
We instantiate this both to contain the actual gates of an execution trace, and also to describe different trace structures (i.e., sets of capacities for each block type, which we use to optimize the folding prover).
ecc_op_wire polynomials (populated by TraceToPolynomials::add_ecc_op_wires_to_prover_instance) align with the main wires via the ecc_op_wire[r] == w_shift[r] equality enforced by EccOpQueueRelation.lagrange_ecc_op selector polynomial is constructed during TraceToPolynomials::add_ecc_op_wires_to_prover_instance() as a binary indicator (1 inside the ecc_op block, 0 elsewhere). Definition at line 36 of file mega_execution_trace.hpp.
|
inline |
Definition at line 68 of file mega_execution_trace.hpp.
|
inline |
Definition at line 83 of file mega_execution_trace.hpp.
|
inline |
Definition at line 98 of file mega_execution_trace.hpp.
|
inline |
Definition at line 53 of file mega_execution_trace.hpp.
|
default |
| MegaTraceBlock bb::MegaTraceBlockData::arithmetic { GateKind::Arith } |
Definition at line 41 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::busread { GateKind::BusRead } |
Definition at line 38 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::delta_range { GateKind::DeltaRange } |
Definition at line 42 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::ecc_op {} |
Definition at line 37 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::elliptic { GateKind::Elliptic } |
Definition at line 43 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::lookup { GateKind::Lookup } |
Definition at line 39 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::memory { GateKind::Memory } |
Definition at line 44 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::nnf { GateKind::Nnf } |
Definition at line 45 of file mega_execution_trace.hpp.
Definition at line 51 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::poseidon2_external { GateKind::Poseidon2Ext, GateKind::Poseidon2ExtInitial } |
Definition at line 46 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::poseidon2_quad_internal |
Definition at line 47 of file mega_execution_trace.hpp.
| MegaTraceBlock bb::MegaTraceBlockData::pub_inputs {} |
Definition at line 40 of file mega_execution_trace.hpp.