Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_emit_public_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/interfaces/emit_public_log.hpp
"
8
9
namespace
bb::avm2::simulation
{
10
11
class
MockEmitPublicLog
:
public
EmitPublicLogInterface
{
12
public
:
13
MockEmitPublicLog
();
14
~MockEmitPublicLog
()
override
;
15
16
MOCK_METHOD
(
void
,
17
emit_public_log
,
18
(
MemoryInterface
&
memory
,
19
ContextInterface
&
context
,
20
const
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_public_log
Definition
emit_public_log.hpp:35
bb::avm2::memory
Definition
memory.hpp:36
bb::avm2::simulation::ContextInterface
Definition
context.hpp:21
bb::avm2::simulation::EmitPublicLogInterface
Definition
emit_public_log.hpp:14
bb::avm2::simulation::MemoryInterface
Definition
memory.hpp:10
bb::avm2::simulation::MockEmitPublicLog
Definition
mock_emit_public_log.hpp:11
bb::avm2::simulation::MockEmitPublicLog::~MockEmitPublicLog
~MockEmitPublicLog() override
bb::avm2::simulation::MockEmitPublicLog::MockEmitPublicLog
MockEmitPublicLog()
bb::avm2::simulation::MockEmitPublicLog::MOCK_METHOD
MOCK_METHOD(void, emit_public_log,(MemoryInterface &memory, ContextInterface &context, const AztecAddress &contract_address, MemoryAddress log_offset, uint32_t log_size),(override))
memory_types.hpp
bb::avm2::simulation
AVM range check gadget for witness generation.
Definition
address_derivation_event.hpp:6
bb::avm2::AztecAddress
FF AztecAddress
Definition
aztec_types.hpp:16
bb::avm2::MemoryAddress
uint32_t MemoryAddress
Definition
memory_types.hpp:11
emit_public_log.hpp
src
barretenberg
vm2
simulation
testing
mock_emit_public_log.hpp
Generated by
1.9.8