8#include "../columns.hpp"
17 static constexpr std::string_view
NAME =
"LOOKUP_CALLDATA_HASHING_CD_HASH";
22 static constexpr Column COUNTS = Column::lookup_calldata_hashing_cd_hash_counts;
23 static constexpr Column INVERSES = Column::lookup_calldata_hashing_cd_hash_inv;
24 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
25 ColumnAndShifts::cd_hashing_input_0_, ColumnAndShifts::cd_hashing_input_1_, ColumnAndShifts::cd_hashing_input_2_
27 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
28 ColumnAndShifts::poseidon2_hash_input_0,
29 ColumnAndShifts::poseidon2_hash_input_1,
30 ColumnAndShifts::poseidon2_hash_input_2
35template <
typename FF_>
41 static constexpr std::string_view
NAME =
"LOOKUP_CALLDATA_HASHING_CD_HASH_END";
46 static constexpr Column COUNTS = Column::lookup_calldata_hashing_cd_hash_end_counts;
47 static constexpr Column INVERSES = Column::lookup_calldata_hashing_cd_hash_end_inv;
48 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
SRC_COLUMNS = {
49 ColumnAndShifts::cd_hashing_output_hash
51 static constexpr std::array<ColumnAndShifts, LOOKUP_TUPLE_SIZE>
DST_COLUMNS = {
52 ColumnAndShifts::poseidon2_hash_output
57template <
typename FF_>
This file contains the template for the generic lookup that can be specialized to enforce various loo...
static constexpr Column SRC_SELECTOR
static constexpr std::string_view NAME
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column COUNTS
static constexpr Column INVERSES
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > SRC_COLUMNS
static constexpr std::string_view RELATION_NAME
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column DST_SELECTOR
static constexpr std::array< ColumnAndShifts, LOOKUP_TUPLE_SIZE > DST_COLUMNS
static constexpr Column SRC_SELECTOR
static constexpr Column COUNTS
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 Column DST_SELECTOR
static constexpr size_t LOOKUP_TUPLE_SIZE
static constexpr Column INVERSES