Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
tx_context_event.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/common/aztec_types.hpp
"
4
5
namespace
bb::avm2::simulation
{
6
7
struct
TxContextEvent
{
8
// Gas
9
Gas
gas_used
;
10
11
// Tree State
12
TreeStates
tree_states
;
13
AppendOnlyTreeSnapshot
written_public_data_slots_tree_snapshot
;
14
AppendOnlyTreeSnapshot
retrieved_bytecodes_tree_snapshot
;
15
16
// Side Effect States
17
uint32_t
numUnencryptedLogFields
= 0;
18
uint32_t
numL2ToL1Messages
= 0;
19
20
// Execution context
21
uint32_t
next_context_id
= 0;
22
};
23
24
}
// namespace bb::avm2::simulation
aztec_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::AppendOnlyTreeSnapshot
Definition
aztec_types.hpp:486
bb::avm2::Gas
Definition
aztec_types.hpp:317
bb::avm2::TreeStates
Definition
aztec_types.hpp:515
bb::avm2::simulation::TxContextEvent
Definition
tx_context_event.hpp:7
bb::avm2::simulation::TxContextEvent::tree_states
TreeStates tree_states
Definition
tx_context_event.hpp:12
bb::avm2::simulation::TxContextEvent::numL2ToL1Messages
uint32_t numL2ToL1Messages
Definition
tx_context_event.hpp:18
bb::avm2::simulation::TxContextEvent::next_context_id
uint32_t next_context_id
Definition
tx_context_event.hpp:21
bb::avm2::simulation::TxContextEvent::numUnencryptedLogFields
uint32_t numUnencryptedLogFields
Definition
tx_context_event.hpp:17
bb::avm2::simulation::TxContextEvent::written_public_data_slots_tree_snapshot
AppendOnlyTreeSnapshot written_public_data_slots_tree_snapshot
Definition
tx_context_event.hpp:13
bb::avm2::simulation::TxContextEvent::retrieved_bytecodes_tree_snapshot
AppendOnlyTreeSnapshot retrieved_bytecodes_tree_snapshot
Definition
tx_context_event.hpp:14
bb::avm2::simulation::TxContextEvent::gas_used
Gas gas_used
Definition
tx_context_event.hpp:9
src
barretenberg
vm2
simulation
events
tx_context_event.hpp
Generated by
1.9.8