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:
15
16 TestTraceContainer() = default;
17 virtual ~TestTraceContainer() = default;
18 TestTraceContainer(const std::vector<std::vector<std::pair<Column, FF>>>& values);
19 // Copy constructor. We allow copying for testing purposes.
21
22 // Returns a row that can be used for accumulation, etc.
23 // You cannot refer to entities by name (e.g., row.column_name) using this type.
25 // Returns a trace in dense format with properly filled in shifted columns.
26 // The returned rows are lightweight references to the original trace.
27 // Therefore the original trace should outlive the returned rows.
29};
30
31} // namespace bb::avm2::tracegen
std::vector< AvmFullRowConstRef > as_rows() const
AvmFullRowProxy get_row(uint32_t row) const
static TestTraceContainer from_rows(const std::vector< AvmFullRow > &rows)
const FF & get(Column col, uint32_t row) const
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13