Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lookups_send_l2_to_l1_msg.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_SEND_L2_TO_L1_MSG_WRITE_L2_TO_L1_MSG";
18 static constexpr std::string_view RELATION_NAME = "send_l2_to_l1_msg";
19 static constexpr size_t LOOKUP_TUPLE_SIZE = 4;
20 static constexpr Column SRC_SELECTOR = Column::execution_sel_write_l2_to_l1_msg;
21 static constexpr Column DST_SELECTOR = Column::public_inputs_sel;
22 static constexpr Column COUNTS = Column::lookup_send_l2_to_l1_msg_write_l2_to_l1_msg_counts;
23 static constexpr Column INVERSES = Column::lookup_send_l2_to_l1_msg_write_l2_to_l1_msg_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> SRC_COLUMNS = {
25 ColumnAndShifts::execution_public_inputs_index,
26 ColumnAndShifts::execution_register_0_,
27 ColumnAndShifts::execution_register_1_,
28 ColumnAndShifts::execution_contract_address
29 };
30 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> DST_COLUMNS = {
31 ColumnAndShifts::precomputed_clk,
32 ColumnAndShifts::public_inputs_cols_0_,
33 ColumnAndShifts::public_inputs_cols_1_,
34 ColumnAndShifts::public_inputs_cols_2_
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 > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS