|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <mock_context_provider.hpp>
Public Member Functions | |
| MockContextProvider () | |
| ~MockContextProvider () override | |
| MOCK_METHOD (std::unique_ptr< ContextInterface >, make_nested_context,(const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, ContextInterface &parent_context, MemoryAddress cd_offset_address, uint32_t cd_size, bool is_static, const Gas &gas_limit, TransactionPhase phase),(override)) | |
| MOCK_METHOD (std::unique_ptr< ContextInterface >, make_enqueued_context,(const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, std::span< const FF > calldata, const FF &calldata_hash, bool is_static, const Gas &gas_limit, const Gas &gas_used, TransactionPhase phase),(override)) | |
| MOCK_METHOD (uint32_t, get_next_context_id,(),(const, override)) | |
Public Member Functions inherited from bb::avm2::simulation::ContextProviderInterface | |
| virtual | ~ContextProviderInterface ()=default |
| virtual std::unique_ptr< ContextInterface > | make_nested_context (const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, ContextInterface &parent_context, MemoryAddress cd_offset_address, uint32_t cd_size, bool is_static, const Gas &gas_limit, TransactionPhase phase)=0 |
| virtual std::unique_ptr< ContextInterface > | make_enqueued_context (const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, std::span< const FF > calldata, const FF &calldata_hash, bool is_static, const Gas &gas_limit, const Gas &gas_used, TransactionPhase phase)=0 |
| virtual uint32_t | get_next_context_id () const =0 |
Definition at line 15 of file mock_context_provider.hpp.
|
default |
|
overridedefault |
| bb::avm2::simulation::MockContextProvider::MOCK_METHOD | ( | std::unique_ptr< ContextInterface > | , |
| make_enqueued_context | , | ||
| (const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, std::span< const FF > calldata, const FF &calldata_hash, bool is_static, const Gas &gas_limit, const Gas &gas_used, TransactionPhase phase) | , | ||
| (override) | |||
| ) |
| bb::avm2::simulation::MockContextProvider::MOCK_METHOD | ( | std::unique_ptr< ContextInterface > | , |
| make_nested_context | , | ||
| (const AztecAddress &address, const AztecAddress &msg_sender, const FF &transaction_fee, ContextInterface &parent_context, MemoryAddress cd_offset_address, uint32_t cd_size, bool is_static, const Gas &gas_limit, TransactionPhase phase) | , | ||
| (override) | |||
| ) |
| bb::avm2::simulation::MockContextProvider::MOCK_METHOD | ( | uint32_t | , |
| get_next_context_id | , | ||
| () | , | ||
| (const, override) | |||
| ) |