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
6
7namespace bb::avm2::simulation {
8
10 public:
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
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
AvmFlavorSettings::FF FF
Definition field.hpp:10
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13