Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
range_check_event.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
6
7namespace bb::avm2::simulation {
8
11 uint8_t num_bits;
12
13 bool operator==(const RangeCheckEvent& other) const = default;
14
15 // To be used with deduplicating event emitters.
17 Key get_key() const { return { value, num_bits }; }
18};
19
20} // namespace bb::avm2::simulation
AVM range check gadget for witness generation.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
unsigned __int128 uint128_t
Definition serialize.hpp:45
bool operator==(const RangeCheckEvent &other) const =default
std::tuple< uint128_t, uint8_t > Key