|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Parsed private execution steps ready for Chonk accumulation. More...
#include <private_execution_steps.hpp>
Public Member Functions | |
| std::shared_ptr< Chonk > | accumulate () |
| Creates a Chonk instance and accumulates each circuit in the folding stack. Uses precomputed VKs when available for performance. The returned Chonk instance is ready to call prove() to generate the final IVC proof. | |
| void | parse (std::vector< PrivateExecutionStepRaw > &&steps) |
| Converts PrivateExecutionStepRaw entries (which contain raw bytecode/witness bytes) into structured AcirProgram objects ready for circuit construction. | |
Public Attributes | |
| std::vector< acir_format::AcirProgram > | folding_stack |
| ACIR programs with witnesses. | |
| std::vector< std::string > | function_names |
| Function names for logging. | |
| std::vector< std::vector< uint8_t > > | precomputed_vks |
| Serialized precomputed VKs (performance) | |
| std::vector< CircuitKind > | kinds |
| Per-step CircuitKind. | |
Parsed private execution steps ready for Chonk accumulation.
After deserializing from msgpack, this struct holds the decoded ACIR programs, their witnesses, precomputed VKs, and function names. The accumulate() method runs the complete IVC accumulation over all steps.
Data flow: TypeScript (Aztec client) → msgpack encode → ivc-inputs.msgpack → PrivateExecutionStepRaw::load_and_decompress() → PrivateExecutionSteps::parse() → PrivateExecutionSteps::accumulate() → Chonk IVC proof
Definition at line 70 of file private_execution_steps.hpp.
| std::shared_ptr< Chonk > bb::PrivateExecutionSteps::accumulate | ( | ) |
Creates a Chonk instance and accumulates each circuit in the folding stack. Uses precomputed VKs when available for performance. The returned Chonk instance is ready to call prove() to generate the final IVC proof.
Definition at line 169 of file private_execution_steps.cpp.
| void bb::PrivateExecutionSteps::parse | ( | std::vector< PrivateExecutionStepRaw > && | steps | ) |
Converts PrivateExecutionStepRaw entries (which contain raw bytecode/witness bytes) into structured AcirProgram objects ready for circuit construction.
| steps | Raw execution steps (will be moved from) |
Definition at line 140 of file private_execution_steps.cpp.
| std::vector<acir_format::AcirProgram> bb::PrivateExecutionSteps::folding_stack |
ACIR programs with witnesses.
Definition at line 71 of file private_execution_steps.hpp.
| std::vector<std::string> bb::PrivateExecutionSteps::function_names |
Function names for logging.
Definition at line 72 of file private_execution_steps.hpp.
| std::vector<CircuitKind> bb::PrivateExecutionSteps::kinds |
Per-step CircuitKind.
Definition at line 74 of file private_execution_steps.hpp.
| std::vector<std::vector<uint8_t> > bb::PrivateExecutionSteps::precomputed_vks |
Serialized precomputed VKs (performance)
Definition at line 73 of file private_execution_steps.hpp.