8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_EXTERNAL_CALL_CALL_IS_L2_GAS_ALLOCATED_LT_LEFT";
22 static constexpr Column COUNTS = Column::lookup_external_call_call_is_l2_gas_allocated_lt_left_counts;
23 static constexpr Column INVERSES = Column::lookup_external_call_call_is_l2_gas_allocated_lt_left_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
25 ColumnAndShifts::execution_l2_gas_left,
26 ColumnAndShifts::execution_register_0_,
27 ColumnAndShifts::execution_call_is_l2_gas_allocated_lt_left
29 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
30 ColumnAndShifts::gt_input_b,
31 ColumnAndShifts::gt_res };
36template <
typename FF_>
43 static constexpr std::string_view
NAME =
"LOOKUP_EXTERNAL_CALL_CALL_IS_DA_GAS_ALLOCATED_LT_LEFT";
48 static constexpr Column COUNTS = Column::lookup_external_call_call_is_da_gas_allocated_lt_left_counts;
49 static constexpr Column INVERSES = Column::lookup_external_call_call_is_da_gas_allocated_lt_left_inv;
50 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
51 ColumnAndShifts::execution_da_gas_left,
52 ColumnAndShifts::execution_register_1_,
53 ColumnAndShifts::execution_call_is_da_gas_allocated_lt_left
55 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = { ColumnAndShifts::gt_input_a,
56 ColumnAndShifts::gt_input_b,
57 ColumnAndShifts::gt_res };
62template <
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 DST_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column INVERSES
static constexpr Column SRC_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view NAME
static constexpr std::string_view RELATION_NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr std::string_view RELATION_NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr Column COUNTS
static constexpr Column DST_SELECTOR
static constexpr std::string_view NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr Column INVERSES