Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
poseidon2_event.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <cstdint>
5#include <vector>
6
9
10namespace bb::avm2::simulation {
11
13 std::vector<FF> inputs; // This input is padded to a multiple of 3
16};
17
19 std::array<FF, 4> input = { 0, 0, 0, 0 };
20 std::array<FF, 4> output = { 0, 0, 0, 0 };
21};
22
24 uint16_t space_id = 0;
25 uint32_t execution_clk = 0;
28 // Need to know the tag value for error handling
30 MemoryValue::from<FF>(0), MemoryValue::from<FF>(0), MemoryValue::from<FF>(0), MemoryValue::from<FF>(0)
31 };
32 std::array<FF, 4> output = { 0, 0, 0, 0 };
33};
34
35} // namespace bb::avm2::simulation
AVM range check gadget for witness generation.
AvmFlavorSettings::FF FF
Definition field.hpp:10
uint32_t MemoryAddress
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
std::vector< std::array< FF, 4 > > intermediate_states