8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_GAS_ADDRESSING_GAS_READ";
22 static constexpr Column COUNTS = Column::lookup_gas_addressing_gas_read_counts;
23 static constexpr Column INVERSES = Column::lookup_gas_addressing_gas_read_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
25 ColumnAndShifts::execution_indirect, ColumnAndShifts::execution_addressing_gas
27 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
28 ColumnAndShifts::precomputed_clk, ColumnAndShifts::precomputed_addressing_gas
33template <
typename FF_>
39 static constexpr std::string_view
NAME =
"LOOKUP_GAS_LIMIT_USED_L2_RANGE";
44 static constexpr Column COUNTS = Column::lookup_gas_limit_used_l2_range_counts;
45 static constexpr Column INVERSES = Column::lookup_gas_limit_used_l2_range_inv;
46 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
47 ColumnAndShifts::execution_limit_used_l2_cmp_diff, ColumnAndShifts::execution_constant_64
49 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
50 ColumnAndShifts::range_check_value, ColumnAndShifts::range_check_rng_chk_bits
55template <
typename FF_>
61 static constexpr std::string_view
NAME =
"LOOKUP_GAS_LIMIT_USED_DA_RANGE";
66 static constexpr Column COUNTS = Column::lookup_gas_limit_used_da_range_counts;
67 static constexpr Column INVERSES = Column::lookup_gas_limit_used_da_range_inv;
68 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
69 ColumnAndShifts::execution_limit_used_da_cmp_diff, ColumnAndShifts::execution_constant_64
71 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
72 ColumnAndShifts::range_check_value, ColumnAndShifts::range_check_rng_chk_bits
77template <
typename FF_>
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr Column COUNTS
static constexpr Column INVERSES
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr std::string_view NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr Column DST_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column DST_SELECTOR
static constexpr Column SRC_SELECTOR
static constexpr std::string_view RELATION_NAME
static constexpr Column INVERSES
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column COUNTS
static constexpr std::string_view NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column DST_SELECTOR
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
static constexpr Column SRC_SELECTOR
static constexpr Column COUNTS
static constexpr Column INVERSES