Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lookups_sload.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_SLOAD_STORAGE_READ";
18 static constexpr std::string_view RELATION_NAME = "sload";
19 static constexpr size_t LOOKUP_TUPLE_SIZE = 5;
20 static constexpr Column SRC_SELECTOR = Column::execution_sel_execute_sload;
21 static constexpr Column DST_SELECTOR = Column::public_data_check_sel;
22 static constexpr Column COUNTS = Column::lookup_sload_storage_read_counts;
23 static constexpr Column INVERSES = Column::lookup_sload_storage_read_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> SRC_COLUMNS = {
25 ColumnAndShifts::precomputed_zero,
26 ColumnAndShifts::execution_register_0_,
27 ColumnAndShifts::execution_register_1_,
28 ColumnAndShifts::execution_register_2_,
29 ColumnAndShifts::execution_prev_public_data_tree_root
30 };
31 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> DST_COLUMNS = {
32 ColumnAndShifts::public_data_check_write,
33 ColumnAndShifts::public_data_check_slot,
34 ColumnAndShifts::public_data_check_address,
35 ColumnAndShifts::public_data_check_value,
36 ColumnAndShifts::public_data_check_root
37 };
38};
39
41template <typename FF_>
43
44} // namespace bb::avm2
Settings to be passed ot GenericLookupRelationImpl.
static constexpr std::string_view RELATION_NAME
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS