Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
hypernova_recursion_constraint.hpp
Go to the documentation of this file.
1
// === AUDIT STATUS ===
2
// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3
// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4
// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5
// =====================
6
7
#pragma once
8
#include "
barretenberg/chonk/chonk.hpp
"
9
#include "
barretenberg/dsl/acir_format/recursion_constraint.hpp
"
10
#include "
barretenberg/stdlib/primitives/bigfield/bigfield.hpp
"
11
#include <vector>
12
13
namespace
acir_format
{
14
15
using namespace
bb
;
16
17
std::shared_ptr<Chonk>
create_mock_chonk_from_constraints
(
const
std::vector<RecursionConstraint>
& constraints);
18
19
void
mock_chonk_accumulation
(
const
std::shared_ptr<Chonk>
& ivc,
Chonk::QUEUE_TYPE
type
,
const
bool
is_kernel);
20
21
void
populate_dummy_vk_in_constraint
(
MegaCircuitBuilder
&
builder
,
22
const
std::shared_ptr<MegaFlavor::VerificationKey>
& mock_verification_key,
23
std::vector<uint32_t>& key_witness_indices);
24
25
}
// namespace acir_format
bigfield.hpp
chonk.hpp
bb::Chonk::QUEUE_TYPE
QUEUE_TYPE
Definition
chonk.hpp:225
bb::MegaCircuitBuilder_
Definition
mega_circuit_builder.hpp:19
GetEnvVarMutationOptions::type
@ type
builder
AluTraceBuilder builder
Definition
alu.test.cpp:124
acir_format
Definition
acir_format.cpp:31
acir_format::create_mock_chonk_from_constraints
std::shared_ptr< Chonk > create_mock_chonk_from_constraints(const std::vector< RecursionConstraint > &constraints)
Create an IVC object with mocked state corresponding to a set of IVC recursion constraints.
Definition
hypernova_recursion_constraint.cpp:39
acir_format::populate_dummy_vk_in_constraint
void populate_dummy_vk_in_constraint(MegaCircuitBuilder &builder, const std::shared_ptr< MegaFlavor::VerificationKey > &mock_verification_key, std::vector< uint32_t > &key_witness_indices)
Populate VK witness fields from a recursion constraint from a provided VerificationKey.
Definition
hypernova_recursion_constraint.cpp:167
acir_format::mock_chonk_accumulation
void mock_chonk_accumulation(const std::shared_ptr< Chonk > &ivc, Chonk::QUEUE_TYPE type, const bool is_kernel)
Populate an IVC instance with data that mimics the state after a single IVC accumulation.
Definition
hypernova_recursion_constraint.cpp:139
bb
Entry point for Barretenberg command-line interface.
Definition
api.hpp:5
std::get
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition
tuple.hpp:13
recursion_constraint.hpp
src
barretenberg
dsl
acir_format
hypernova_recursion_constraint.hpp
Generated by
1.9.8