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_RECIPIENT_CHECK";
18 static constexpr std::string_view RELATION_NAME = "send_l2_to_l1_msg";
19 static constexpr size_t LOOKUP_TUPLE_SIZE = 3;
20 static constexpr Column SRC_SELECTOR = Column::execution_sel_execute_send_l2_to_l1_msg;
21 static constexpr Column DST_SELECTOR = Column::ff_gt_sel_gt;
22 static constexpr Column COUNTS = Column::lookup_send_l2_to_l1_msg_recipient_check_counts;
23 static constexpr Column INVERSES = Column::lookup_send_l2_to_l1_msg_recipient_check_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> SRC_COLUMNS = {
25 ColumnAndShifts::execution_register_0_,
26 ColumnAndShifts::execution_max_eth_address_value,
27 ColumnAndShifts::execution_sel_too_large_recipient_error
28 };
29 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> DST_COLUMNS = { ColumnAndShifts::ff_gt_a,
30 ColumnAndShifts::ff_gt_b,
31 ColumnAndShifts::ff_gt_result };
32};
33
36template <typename FF_>
39
41
43 static constexpr std::string_view NAME = "LOOKUP_SEND_L2_TO_L1_MSG_WRITE_L2_TO_L1_MSG";
44 static constexpr std::string_view RELATION_NAME = "send_l2_to_l1_msg";
45 static constexpr size_t LOOKUP_TUPLE_SIZE = 4;
46 static constexpr Column SRC_SELECTOR = Column::execution_sel_write_l2_to_l1_msg;
47 static constexpr Column DST_SELECTOR = Column::public_inputs_sel;
48 static constexpr Column COUNTS = Column::lookup_send_l2_to_l1_msg_write_l2_to_l1_msg_counts;
49 static constexpr Column INVERSES = Column::lookup_send_l2_to_l1_msg_write_l2_to_l1_msg_inv;
50 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> SRC_COLUMNS = {
51 ColumnAndShifts::execution_public_inputs_index,
52 ColumnAndShifts::execution_register_0_,
53 ColumnAndShifts::execution_register_1_,
54 ColumnAndShifts::execution_contract_address
55 };
56 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> DST_COLUMNS = {
57 ColumnAndShifts::precomputed_idx,
58 ColumnAndShifts::public_inputs_cols_0_,
59 ColumnAndShifts::public_inputs_cols_1_,
60 ColumnAndShifts::public_inputs_cols_2_
61 };
62};
63
66template <typename FF_>
69
70} // namespace bb::avm2
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
Settings to be passed ot GenericLookupRelationImpl.