Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::tracegen::PublicDataTreeTraceBuilder Class Referencefinal

#include <public_data_tree_trace.hpp>

Public Member Functions

void process (const simulation::EventEmitterInterface< simulation::PublicDataTreeCheckEvent >::Container &events, TraceContainer &trace)
 Process the public data tree check events and populate the relevant columns in the trace.
 

Static Public Attributes

static const InteractionDefinition interactions
 

Detailed Description

Definition at line 10 of file public_data_tree_trace.hpp.

Member Function Documentation

◆ process()

void bb::avm2::tracegen::PublicDataTreeTraceBuilder::process ( const simulation::EventEmitterInterface< simulation::PublicDataTreeCheckEvent >::Container &  events,
TraceContainer trace 
)

Process the public data tree check events and populate the relevant columns in the trace.

Reconstructs discard status from checkpoint events, sorts events by clk for the main trace and by (leaf_slot, clk) for the squash trace, then delegates to the two sub-trace builders.

Parameters
eventsThe container of PublicDataTreeCheckEvent variants (read/write events and checkpoint markers).
traceThe trace container to populate.

Definition at line 242 of file public_data_tree_trace.cpp.

Member Data Documentation

◆ interactions

const InteractionDefinition bb::avm2::tracegen::PublicDataTreeTraceBuilder::interactions
static

Definition at line 15 of file public_data_tree_trace.hpp.


The documentation for this class was generated from the following files: