Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
l1_to_l2_message_tree_check.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <span>
4
5
#include "
barretenberg/vm2/common/field.hpp
"
6
7
namespace
bb::avm2::simulation
{
8
9
class
L1ToL2MessageTreeCheckInterface
{
10
public
:
11
virtual
~L1ToL2MessageTreeCheckInterface
() =
default
;
12
13
virtual
bool
exists
(
const
FF
& msg_hash,
14
const
FF
& leaf_value,
15
uint64_t leaf_index,
16
std::span<const FF>
sibling_path,
17
const
AppendOnlyTreeSnapshot
& snapshot) = 0;
18
};
19
20
}
// namespace bb::avm2::simulation
bb::avm2::simulation::L1ToL2MessageTreeCheckInterface
Definition
l1_to_l2_message_tree_check.hpp:9
bb::avm2::simulation::L1ToL2MessageTreeCheckInterface::~L1ToL2MessageTreeCheckInterface
virtual ~L1ToL2MessageTreeCheckInterface()=default
bb::avm2::simulation::L1ToL2MessageTreeCheckInterface::exists
virtual bool exists(const FF &msg_hash, const FF &leaf_value, uint64_t leaf_index, std::span< const FF > sibling_path, const AppendOnlyTreeSnapshot &snapshot)=0
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
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::AppendOnlyTreeSnapshot
Definition
aztec_types.hpp:293
field.hpp
src
barretenberg
vm2
simulation
interfaces
l1_to_l2_message_tree_check.hpp
Generated by
1.9.8