Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lookups_sstore.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_SSTORE_RECORD_WRITTEN_STORAGE_SLOT";
18 static constexpr std::string_view RELATION_NAME = "sstore";
19 static constexpr size_t LOOKUP_TUPLE_SIZE = 9;
20 static constexpr Column SRC_SELECTOR = Column::execution_sel_write_public_data;
21 static constexpr Column DST_SELECTOR = Column::indexed_tree_check_write;
22 static constexpr Column COUNTS = Column::lookup_sstore_record_written_storage_slot_counts;
23 static constexpr Column INVERSES = Column::lookup_sstore_record_written_storage_slot_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> SRC_COLUMNS = {
25 ColumnAndShifts::execution_register_1_,
26 ColumnAndShifts::execution_prev_written_public_data_slots_tree_root,
27 ColumnAndShifts::execution_written_public_data_slots_tree_root,
28 ColumnAndShifts::execution_prev_written_public_data_slots_tree_size,
29 ColumnAndShifts::execution_written_public_data_slots_tree_size,
30 ColumnAndShifts::execution_written_slots_tree_height,
31 ColumnAndShifts::execution_sel_write_public_data,
32 ColumnAndShifts::execution_written_slots_tree_siloing_separator,
33 ColumnAndShifts::execution_contract_address
34 };
35 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE> DST_COLUMNS = {
36 ColumnAndShifts::indexed_tree_check_value,
37 ColumnAndShifts::indexed_tree_check_root,
38 ColumnAndShifts::indexed_tree_check_write_root,
39 ColumnAndShifts::indexed_tree_check_tree_size_before_write,
40 ColumnAndShifts::indexed_tree_check_tree_size_after_write,
41 ColumnAndShifts::indexed_tree_check_tree_height,
42 ColumnAndShifts::indexed_tree_check_sel_silo,
43 ColumnAndShifts::indexed_tree_check_siloing_separator,
44 ColumnAndShifts::indexed_tree_check_address
45 };
46};
47
50template <typename FF_>
53
54} // namespace bb::avm2
Settings to be passed ot GenericLookupRelationImpl.
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS