Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bytecode_events.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <memory>
5#include <optional>
6#include <vector>
7
11
12namespace bb::avm2::simulation {
13
14// Storage and decomposition of bytecode into sliding window.
19
25
30
31// This is the event that is emitted when the simulator needs to retrieve bytecode.
32// It might or might not result into the storage/decomposition of a bytecode.
45
46// Emitted when the simulator fetches an instruction from bytecode.
47// Contains data required to prove either success or failure of extraction.
59
60} // namespace bb::avm2::simulation
AVM range check gadget for witness generation.
uint32_t PC
AvmFlavorSettings::FF FF
Definition field.hpp:10
FF ContractClassId
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
std::shared_ptr< std::vector< uint8_t > > bytecode
AppendOnlyTreeSnapshot retrieved_bytecodes_snapshot_after
std::optional< BytecodeRetrievalEventError > error
AppendOnlyTreeSnapshot retrieved_bytecodes_snapshot_before
std::shared_ptr< std::vector< uint8_t > > bytecode
std::optional< InstrDeserializationEventError > error