Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::MockExecutionComponentsProvider Class Reference

#include <mock_execution_components.hpp>

Inheritance diagram for bb::avm2::simulation::MockExecutionComponentsProvider:
bb::avm2::simulation::ExecutionComponentsProviderInterface

Public Member Functions

 MockExecutionComponentsProvider ()
 
 ~MockExecutionComponentsProvider () override
 
 MOCK_METHOD (std::unique_ptr< AddressingInterface >, make_addressing,(AddressingEvent &event),(override))
 
 MOCK_METHOD (std::unique_ptr< GasTrackerInterface >, make_gas_tracker,(GasEvent &gas_event, const Instruction &instruction, ContextInterface &context),(override))
 
- Public Member Functions inherited from bb::avm2::simulation::ExecutionComponentsProviderInterface
virtual ~ExecutionComponentsProviderInterface ()=default
 
virtual std::unique_ptr< AddressingInterfacemake_addressing (AddressingEvent &event)=0
 
virtual std::unique_ptr< GasTrackerInterfacemake_gas_tracker (GasEvent &gas_event, const Instruction &instruction, ContextInterface &context)=0
 

Detailed Description

Definition at line 14 of file mock_execution_components.hpp.

Constructor & Destructor Documentation

◆ MockExecutionComponentsProvider()

bb::avm2::simulation::MockExecutionComponentsProvider::MockExecutionComponentsProvider ( )
default

◆ ~MockExecutionComponentsProvider()

bb::avm2::simulation::MockExecutionComponentsProvider::~MockExecutionComponentsProvider ( )
overridedefault

Member Function Documentation

◆ MOCK_METHOD() [1/2]

bb::avm2::simulation::MockExecutionComponentsProvider::MOCK_METHOD ( std::unique_ptr< AddressingInterface ,
make_addressing  ,
(AddressingEvent &event ,
(override)   
)

◆ MOCK_METHOD() [2/2]

bb::avm2::simulation::MockExecutionComponentsProvider::MOCK_METHOD ( std::unique_ptr< GasTrackerInterface ,
make_gas_tracker  ,
(GasEvent &gas_event, const Instruction &instruction, ContextInterface &context ,
(override)   
)

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