Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
mock_execution_components.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <memory>
5#include <span>
6
7#include <gmock/gmock.h>
8
11
12namespace bb::avm2::simulation {
13
26
27} // namespace bb::avm2::simulation
virtual std::unique_ptr< GasTrackerInterface > make_gas_tracker(GasEvent &gas_event, const Instruction &instruction, ContextInterface &context)=0
virtual std::unique_ptr< AddressingInterface > make_addressing(AddressingEvent &event)=0
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))
GasEvent gas_event
Instruction instruction
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
simulation::PublicDataTreeReadWriteEvent event