Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_emit_unencrypted_log.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <gmock/gmock.h>
4
5
#include "
barretenberg/vm2/common/aztec_types.hpp
"
6
#include "
barretenberg/vm2/common/memory_types.hpp
"
7
#include "
barretenberg/vm2/simulation/emit_unencrypted_log.hpp
"
8
9
namespace
bb::avm2::simulation
{
10
11
class
MockEmitUnencryptedLog
:
public
EmitUnencryptedLogInterface
{
12
public
:
13
MockEmitUnencryptedLog
();
14
~MockEmitUnencryptedLog
()
override
;
15
16
MOCK_METHOD
(
void
,
17
emit_unencrypted_log
,
18
(
MemoryInterface
&
memory
,
19
ContextInterface
&
context
,
20
AztecAddress
contract_address
,
21
MemoryAddress
log_offset,
22
uint32_t log_size),
23
(
override
));
24
};
25
26
}
// namespace bb::avm2::simulation
aztec_types.hpp
bb::avm2::context
Definition
context.hpp:37
bb::avm2::emit_unencrypted_log
Definition
emit_unencrypted_log.hpp:36
bb::avm2::memory
Definition
memory.hpp:34
bb::avm2::simulation::ContextInterface
Definition
context.hpp:23
bb::avm2::simulation::EmitUnencryptedLogInterface
Definition
emit_unencrypted_log.hpp:16
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:14
bb::avm2::simulation::MockEmitUnencryptedLog
Definition
mock_emit_unencrypted_log.hpp:11
bb::avm2::simulation::MockEmitUnencryptedLog::~MockEmitUnencryptedLog
~MockEmitUnencryptedLog() override
bb::avm2::simulation::MockEmitUnencryptedLog::MockEmitUnencryptedLog
MockEmitUnencryptedLog()
bb::avm2::simulation::MockEmitUnencryptedLog::MOCK_METHOD
MOCK_METHOD(void, emit_unencrypted_log,(MemoryInterface &memory, ContextInterface &context, AztecAddress contract_address, MemoryAddress log_offset, uint32_t log_size),(override))
contract_address
AztecAddress contract_address
Definition
written_public_data_slots_tree_check.test.cpp:96
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation.cpp:8
bb::avm2::AztecAddress
FF AztecAddress
Definition
aztec_types.hpp:11
bb::avm2::MemoryAddress
uint32_t MemoryAddress
Definition
memory_types.hpp:11
emit_unencrypted_log.hpp
src
barretenberg
vm2
simulation
testing
mock_emit_unencrypted_log.hpp
Generated by
1.9.8