|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <field_gt_trace.hpp>
Public Member Functions | |
| void | process (const simulation::EventEmitterInterface< simulation::FieldGreaterThanEvent >::Container &events, TraceContainer &trace) |
| Processes FieldGreaterThanEvent events and generates trace rows for the ff_gt gadget. | |
Static Public Attributes | |
| static const InteractionDefinition | interactions |
Definition at line 11 of file field_gt_trace.hpp.
| void bb::avm2::tracegen::FieldGreaterThanTraceBuilder::process | ( | const simulation::EventEmitterInterface< simulation::FieldGreaterThanEvent >::Container & | events, |
| TraceContainer & | trace | ||
| ) |
Processes FieldGreaterThanEvent events and generates trace rows for the ff_gt gadget.
This function handles two flavors of FieldGreaterThanEvent:
The shifting mechanism ensures all 128-bit limbs are range-checked:
| events | Container of FieldGreaterThanEvent to process. |
| trace | The trace container to populate with generated rows. |
Definition at line 44 of file field_gt_trace.cpp.
|
static |
Definition at line 16 of file field_gt_trace.hpp.