Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
pg_recursion_constraint.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  acir_format
 

Functions

std::shared_ptr< ClientIVCacir_format::create_mock_ivc_from_constraints (const std::vector< RecursionConstraint > &constraints, const TraceSettings &trace_settings)
 Create an IVC object with mocked state corresponding to a set of IVC recursion constraints.
 
ClientIVC::VerifierInputs acir_format::create_mock_verification_queue_entry (const ClientIVC::QUEUE_TYPE verification_type, const TraceSettings &trace_settings, const bool is_kernel)
 Create a mock verification queue entry with proof and VK that have the correct structure but are not necessarily valid.
 
void acir_format::mock_ivc_accumulation (const std::shared_ptr< ClientIVC > &ivc, ClientIVC::QUEUE_TYPE type, const bool is_kernel)
 Populate an IVC instance with data that mimics the state after a single IVC accumulation (Oink or PG)
 
void acir_format::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.