Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lookups_l1_to_l2_message_tree_check.hpp
Go to the documentation of this file.
1// AUTOGENERATED FILE
2#pragma once
3
4#include <cstddef>
5#include <string_view>
6#include <tuple>
7
8#include "../columns.hpp"
11
12namespace bb::avm2 {
13
15
17 static constexpr std::string_view NAME = "LOOKUP_L1_TO_L2_MESSAGE_TREE_CHECK_MERKLE_CHECK";
18 static constexpr std::string_view RELATION_NAME = "l1_to_l2_message_tree_check";
19 static constexpr size_t LOOKUP_TUPLE_SIZE = 4;
20 static constexpr Column SRC_SELECTOR = Column::l1_to_l2_message_tree_check_sel;
21 static constexpr Column DST_SELECTOR = Column::merkle_check_start;
22 static constexpr Column COUNTS = Column::lookup_l1_to_l2_message_tree_check_merkle_check_counts;
23 static constexpr Column INVERSES = Column::lookup_l1_to_l2_message_tree_check_merkle_check_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> SRC_COLUMNS = {
25 ColumnAndShifts::l1_to_l2_message_tree_check_leaf_value,
26 ColumnAndShifts::l1_to_l2_message_tree_check_leaf_index,
27 ColumnAndShifts::l1_to_l2_message_tree_check_l1_to_l2_message_tree_height,
28 ColumnAndShifts::l1_to_l2_message_tree_check_root
29 };
30 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> DST_COLUMNS = {
31 ColumnAndShifts::merkle_check_read_node,
32 ColumnAndShifts::merkle_check_index,
33 ColumnAndShifts::merkle_check_path_len,
34 ColumnAndShifts::merkle_check_read_root
35 };
36};
37
40template <typename FF_>
43
44} // namespace bb::avm2
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS