|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <class_id_derivation_trace.hpp>
Public Member Functions | |
| void | process (const simulation::EventEmitterInterface< simulation::ClassIdDerivationEvent >::Container &events, TraceContainer &trace) |
| Process class id derivation events and populate the relevant columns in the trace. Corresponds to the subtrace class_id_derivation.pil. | |
Static Public Attributes | |
| static const InteractionDefinition | interactions |
Definition at line 13 of file class_id_derivation_trace.hpp.
| void bb::avm2::tracegen::ClassIdDerivationTraceBuilder::process | ( | const simulation::EventEmitterInterface< simulation::ClassIdDerivationEvent >::Container & | events, |
| TraceContainer & | trace | ||
| ) |
Process class id derivation events and populate the relevant columns in the trace. Corresponds to the subtrace class_id_derivation.pil.
This trace is non memory-aware and does not handle any errors. It relies on the poseidon trace to constrain correctness of the class id, given as: Poseidon2(DOM_SEP__CONTRACT_CLASS_ID, artifact_hash, private_functions_root, public_bytecode_commitment)
| events | The container of class id derivation events to process. |
| trace | The trace container. |
Definition at line 25 of file class_id_derivation_trace.cpp.
|
static |
Definition at line 18 of file class_id_derivation_trace.hpp.