Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
test_trace_container.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
8
9namespace bb::avm2::tracegen {
10
12 public:
14
15 TestTraceContainer() = default;
16 virtual ~TestTraceContainer() = default;
17 TestTraceContainer(const std::vector<std::vector<std::pair<Column, FF>>>& values);
18 // Copy constructor. We allow copying for testing purposes.
20
21 // Returns a row that can be used for accumulation, etc.
22 // You cannot refer to entities by name (e.g., row.column_name) using this type.
24 // Returns a trace in dense format with properly filled in shifted columns.
25 // The returned rows are lightweight references to the original trace.
26 // Therefore the original trace should outlive the returned rows.
28};
29
30} // namespace bb::avm2::tracegen
std::vector< AvmFullRowConstRef > as_rows() const
AvmFullRowProxy get_row(uint32_t row) const
const FF & get(Column col, uint32_t row) const
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13