Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
avm_execute.hpp
Go to the documentation of this file.
1#pragma once
7#include "barretenberg/avm/generated/avm_ipc_server.hpp"
10#include "barretenberg/wsdb/generated/wsdb_ipc_client.hpp"
11
12#include <atomic>
13
14namespace bb::avm {
15
17// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
19
24struct AvmRequest {
26 wsdb::WsdbIpcClient& wsdb_client;
27};
28
29} // namespace bb::avm
std::atomic< avm2::simulation::CancellationToken * > g_active_cancellation_token
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
Context passed to each command's execute() method. Provides access to WSDB and CDB IPC clients.
cdb::CdbIpcContractDB & cdb_client
wsdb::WsdbIpcClient & wsdb_client