Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
simulator.hpp File Reference

Go to the source code of this file.

Classes

struct  SimulatorResult
 
class  Simulator
 
class  CppSimulator
 uses barretenberg/vm2 to simulate the bytecode More...
 

Functions

GlobalVariables create_default_globals ()
 
Tx create_default_tx (const AztecAddress &contract_address, const AztecAddress &sender_address, const std::vector< FF > &calldata, const FF &transaction_fee, bool is_static_call, const Gas &gas_limit)
 

Function Documentation

◆ create_default_globals()

GlobalVariables create_default_globals ( )

Definition at line 31 of file simulator.cpp.

◆ create_default_tx()

Tx create_default_tx ( const AztecAddress contract_address,
const AztecAddress sender_address,
const std::vector< FF > &  calldata,
const FF transaction_fee,
bool  is_static_call,
const Gas gas_limit 
)

Definition at line 96 of file simulator.cpp.