Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
gas.cpp File Reference
#include "barretenberg/vm2/common/gas.hpp"
#include <cstddef>
#include "barretenberg/aztec/aztec_constants.hpp"
#include "barretenberg/vm2/common/addressing.hpp"

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::avm2
 

Functions

uint16_t bb::avm2::compute_addressing_gas (uint16_t addressing_mode)
 Computes the gas cost for addressing.