Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
ROMTestingFunctions< Builder_, table_size, num_reads, perform_constant_ops > Class Template Reference

Classes

class  InvalidWitness
 

Public Types

using AcirConstraint = BlockConstraint
 
using Builder = Builder_
 

Static Public Member Functions

static ProgramMetadata generate_metadata ()
 
static void generate_constraints (AcirConstraint &memory_constraint, WitnessVector &witness_values)
 
static std::pair< AcirConstraint, WitnessVectorinvalidate_witness (AcirConstraint memory_constraint, WitnessVector witness_values, const InvalidWitness::Target &invalid_witness_target)
 

Detailed Description

template<typename Builder_, size_t table_size, size_t num_reads, bool perform_constant_ops>
class ROMTestingFunctions< Builder_, table_size, num_reads, perform_constant_ops >

Definition at line 74 of file block_constraint.test.cpp.

Member Typedef Documentation

◆ AcirConstraint

template<typename Builder_ , size_t table_size, size_t num_reads, bool perform_constant_ops>
using ROMTestingFunctions< Builder_, table_size, num_reads, perform_constant_ops >::AcirConstraint = BlockConstraint

Definition at line 76 of file block_constraint.test.cpp.

◆ Builder

template<typename Builder_ , size_t table_size, size_t num_reads, bool perform_constant_ops>
using ROMTestingFunctions< Builder_, table_size, num_reads, perform_constant_ops >::Builder = Builder_

Definition at line 77 of file block_constraint.test.cpp.

Member Function Documentation

◆ generate_constraints()

template<typename Builder_ , size_t table_size, size_t num_reads, bool perform_constant_ops>
static void ROMTestingFunctions< Builder_, table_size, num_reads, perform_constant_ops >::generate_constraints ( AcirConstraint memory_constraint,
WitnessVector witness_values 
)
inlinestatic

Definition at line 101 of file block_constraint.test.cpp.

◆ generate_metadata()

template<typename Builder_ , size_t table_size, size_t num_reads, bool perform_constant_ops>
static ProgramMetadata ROMTestingFunctions< Builder_, table_size, num_reads, perform_constant_ops >::generate_metadata ( )
inlinestatic

Definition at line 99 of file block_constraint.test.cpp.

◆ invalidate_witness()

template<typename Builder_ , size_t table_size, size_t num_reads, bool perform_constant_ops>
static std::pair< AcirConstraint, WitnessVector > ROMTestingFunctions< Builder_, table_size, num_reads, perform_constant_ops >::invalidate_witness ( AcirConstraint  memory_constraint,
WitnessVector  witness_values,
const InvalidWitness::Target invalid_witness_target 
)
inlinestatic

Definition at line 147 of file block_constraint.test.cpp.


The documentation for this class was generated from the following file: