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
8
9namespace bb::avm2::simulation {
10
12 public:
14
15 virtual bool exists(const FF& msg_hash,
16 const FF& leaf_value,
17 uint64_t leaf_index,
18 std::span<const FF> sibling_path,
19 const AppendOnlyTreeSnapshot& snapshot) = 0;
20};
21
40
41} // namespace bb::avm2::simulation
EventEmitterInterface< L1ToL2MessageTreeCheckEvent > & events
L1ToL2MessageTreeCheck(MerkleCheckInterface &merkle_check, EventEmitterInterface< L1ToL2MessageTreeCheckEvent > &event_emitter)
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
EventEmitter< DataCopyEvent > event_emitter
AvmFlavorSettings::FF FF
Definition field.hpp:10
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13