19 template <
typename AllEntities>
inline static bool skip(
const AllEntities& in)
23 return (in.get(C::execution_sel_execute_sstore)).is_zero();
26 template <
typename ContainerOverSubrelations,
typename AllEntities>
27 void static accumulate(ContainerOverSubrelations& evals,
28 const AllEntities& in,
30 [[maybe_unused]]
const FF& scaling_factor);
35 static constexpr const std::string_view
NAME =
"sstore";
41 return "SSTORE_MAX_DATA_WRITES_REACHED";
43 return "OPCODE_ERROR_IF_OVERFLOW_OR_STATIC";
45 return "SSTORE_WRITTEN_SLOTS_ROOT_NOT_CHANGED";
47 return "SSTORE_WRITTEN_SLOTS_SIZE_NOT_CHANGED";
49 return "SSTORE_PUBLIC_DATA_TREE_ROOT_NOT_CHANGED";
51 return "SSTORE_PUBLIC_DATA_TREE_SIZE_NOT_CHANGED";
A wrapper for Relations to expose methods used by the Sumcheck prover or verifier to add the contribu...
static constexpr size_t SR_SSTORE_WRITTEN_SLOTS_SIZE_NOT_CHANGED
static constexpr size_t SR_OPCODE_ERROR_IF_OVERFLOW_OR_STATIC
static constexpr size_t SR_SSTORE_MAX_DATA_WRITES_REACHED
static constexpr size_t SR_SSTORE_WRITTEN_SLOTS_ROOT_NOT_CHANGED
static constexpr size_t SR_SSTORE_PUBLIC_DATA_TREE_SIZE_NOT_CHANGED
static std::string get_subrelation_label(size_t index)
static constexpr size_t SR_SSTORE_PUBLIC_DATA_TREE_ROOT_NOT_CHANGED
static constexpr const std::string_view NAME
static bool skip(const AllEntities &in)
static constexpr std::array< size_t, 8 > SUBRELATION_PARTIAL_LENGTHS
static void accumulate(ContainerOverSubrelations &evals, const AllEntities &in, const RelationParameters< FF > &, const FF &scaling_factor)
std::string to_string(bb::avm2::ValueTag tag)
Container for parameters used by the grand product (permutation, lookup) Honk relations.