|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <cstdint>#include <random>#include "barretenberg/avm_fuzzer/common/weighted_selection.hpp"#include "barretenberg/vm2/common/avm_io.hpp"Go to the source code of this file.
Namespaces | |
| namespace | bb |
| Entry point for Barretenberg command-line interface. | |
| namespace | bb::avm2 |
| namespace | bb::avm2::fuzzer |
Typedefs | |
| using | bb::avm2::fuzzer::GasSettingsMutationConfig = WeightedSelectionConfig< GasSettingsMutationOptions, 4 > |
Enumerations | |
| enum class | bb::avm2::fuzzer::GasSettingsMutationOptions : uint8_t { bb::avm2::fuzzer::GasLimits , bb::avm2::fuzzer::TeardownGasLimits , bb::avm2::fuzzer::MaxFeesPerGas , bb::avm2::fuzzer::MaxPriorityFeesPerGas } |
Functions | |
| Gas | bb::avm2::fuzzer::generate_gas (std::mt19937_64 &rng) |
| void | bb::avm2::fuzzer::mutate_gas (Gas &gas, std::mt19937_64 &rng, const Gas &max) |
| GasSettings | bb::avm2::fuzzer::generate_gas_settings (std::mt19937_64 &rng) |
| void | bb::avm2::fuzzer::mutate_gas_settings (GasSettings &gas_settings, std::mt19937_64 &rng) |
| GasFees | bb::avm2::fuzzer::generate_gas_fees (std::mt19937_64 &rng) |
| void | bb::avm2::fuzzer::mutate_gas_fees (GasFees &fees, std::mt19937_64 &rng) |
| GasFees | bb::avm2::fuzzer::compute_effective_gas_fees (const GasFees &gas_fees, const GasSettings &gas_settings) |
Variables | |
| constexpr uint128_t | bb::avm2::fuzzer::MIN_FEE = 1 |
| constexpr uint128_t | bb::avm2::fuzzer::MAX_FEE = 1000 |
| constexpr uint32_t | bb::avm2::fuzzer::MIN_GAS = 0 |
| constexpr uint32_t | bb::avm2::fuzzer::AVM_MAX_PROCESSABLE_DA_GAS |
| constexpr GasSettingsMutationConfig | bb::avm2::fuzzer::GAS_SETTINGS_MUTATION_CONFIGURATION |