Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
indexed_tree_check_event.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <cstdint>
8#include <optional>
9#include <variant>
10
11namespace bb::avm2::simulation {
12
16 uint64_t next_index;
17
18 bool operator==(const IndexedTreeLeafData& other) const = default;
19
20 std::vector<FF> get_hash_inputs() const { return { value, next_value, next_index }; }
21};
22
29
36
44
63
65
66} // namespace bb::avm2::simulation
AVM range check gadget for witness generation.
std::variant< IndexedTreeReadWriteEvent, CheckPointEventType > IndexedTreeCheckEvent
AvmFlavorSettings::FF FF
Definition field.hpp:10
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
bool operator==(const IndexedLeafAppendData &other) const =default
bool operator==(const IndexedLeafSiloingData &other) const =default
bool operator==(const IndexedTreeLeafData &other) const =default
std::optional< IndexedLeafAppendData > append_data
std::optional< IndexedLeafSiloingData > siloing_data
bool operator==(const IndexedTreeReadWriteEvent &other) const =default
bool operator==(const IndexedTreeSiloingParameters &other) const =default