Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
discard_reconstruction.hpp File Reference
#include <cassert>
#include <functional>
#include <optional>
#include <stack>
#include <unordered_map>
#include <variant>
#include <vector>
#include "barretenberg/vm2/simulation/events/checkpoint_event_type.hpp"

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::avm2
 
namespace  bb::avm2::tracegen
 

Functions

template<typename EventVariant >
std::unordered_map< size_t, size_t > bb::avm2::tracegen::compute_reverted_in_map (const std::vector< EventVariant > &events)
 
template<typename EventType , typename ProcessEventFn >
void bb::avm2::tracegen::process_with_discard (const std::vector< std::variant< EventType, simulation::CheckPointEventType > > &events, ProcessEventFn &&process_event)