Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
to_radix_event.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
7
8namespace bb::avm2::simulation {
9
10class ToRadixException : public std::runtime_error {
11 public:
12 explicit ToRadixException(const std::string& message)
13 : std::runtime_error("ToRadix Exception: " + message)
14 {}
15};
16
19 uint32_t radix;
20 std::vector<uint8_t> limbs;
21
22 bool operator==(const ToRadixEvent& other) const = default;
23};
24
26 uint32_t execution_clk;
27 uint32_t space_id;
29
31 uint32_t radix;
32 bool is_output_bits; // true if output is U1 or false if output is U8
33 // Need to know if the output is U8 or U1
35};
36
37} // namespace bb::avm2::simulation
ToRadixException(const std::string &message)
uint32_t MemoryAddress
AvmFlavorSettings::FF FF
Definition field.hpp:10
STL namespace.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
bool operator==(const ToRadixEvent &other) const =default