Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
merkle_check_event.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/common/field.hpp
"
4
5
#include <cstdint>
6
#include <vector>
7
8
namespace
bb::avm2::simulation
{
9
10
struct
MerkleCheckEvent
{
11
FF
leaf_value
;
12
std::optional<FF>
new_leaf_value
;
13
uint64_t
leaf_index
;
14
std::vector<FF>
sibling_path
;
15
FF
root
;
16
std::optional<FF>
new_root
;
17
18
bool
operator==
(
const
MerkleCheckEvent
& other)
const
=
default
;
19
};
20
21
}
// namespace bb::avm2::simulation
bb::avm2::simulation
Definition
address_derivation.cpp:8
bb::avm2::FF
AvmFlavorSettings::FF FF
Definition
field.hpp:10
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
bb::avm2::simulation::MerkleCheckEvent
Definition
merkle_check_event.hpp:10
bb::avm2::simulation::MerkleCheckEvent::leaf_index
uint64_t leaf_index
Definition
merkle_check_event.hpp:13
bb::avm2::simulation::MerkleCheckEvent::root
FF root
Definition
merkle_check_event.hpp:15
bb::avm2::simulation::MerkleCheckEvent::new_leaf_value
std::optional< FF > new_leaf_value
Definition
merkle_check_event.hpp:12
bb::avm2::simulation::MerkleCheckEvent::operator==
bool operator==(const MerkleCheckEvent &other) const =default
bb::avm2::simulation::MerkleCheckEvent::new_root
std::optional< FF > new_root
Definition
merkle_check_event.hpp:16
bb::avm2::simulation::MerkleCheckEvent::leaf_value
FF leaf_value
Definition
merkle_check_event.hpp:11
bb::avm2::simulation::MerkleCheckEvent::sibling_path
std::vector< FF > sibling_path
Definition
merkle_check_event.hpp:14
field.hpp
src
barretenberg
vm2
simulation
events
merkle_check_event.hpp
Generated by
1.9.8