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

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 TxMutationConfig = WeightedSelectionConfig< TxMutationOptions, 9 >
 
using EnqueuedCallMutationConfig = WeightedSelectionConfig< EnqueuedCallMutation, 3 >
 

Enumerations

enum class  TxMutationOptions {
  SetupEnqueuedCalls , AppLogicEnqueuedCalls , TearDownEnqueuedCall , NonRevertibleData ,
  RevertibleData , GasSettings , GasFees , GasUsedByPrivate ,
  FeePayer
}
 
enum class  EnqueuedCallMutation { Add , Mutate , Remove }
 

Functions

void bb::avm2::fuzzer::mutate_tx (Tx &tx, std::vector< AztecAddress > &contract_addresses, std::mt19937_64 &rng)
 
void bb::avm2::fuzzer::mutate_fuzzer_data_vec (const FuzzerContext &context, std::vector< FuzzerData > &enqueued_calls, std::mt19937_64 &rng, size_t max_size)
 

Variables

constexpr TxMutationConfig TX_MUTATION_CONFIGURATION
 
constexpr EnqueuedCallMutationConfig ENQUEUED_CALL_MUTATION_CONFIGURATION
 

Typedef Documentation

◆ EnqueuedCallMutationConfig

◆ TxMutationConfig

Definition at line 24 of file tx_data.hpp.

Enumeration Type Documentation

◆ EnqueuedCallMutation

enum class EnqueuedCallMutation
strong
Enumerator
Add 
Mutate 
Remove 

Definition at line 38 of file tx_data.hpp.

◆ TxMutationOptions

enum class TxMutationOptions
strong
Enumerator
SetupEnqueuedCalls 
AppLogicEnqueuedCalls 
TearDownEnqueuedCall 
NonRevertibleData 
RevertibleData 
GasSettings 
GasFees 
GasUsedByPrivate 
FeePayer 

Definition at line 12 of file tx_data.hpp.

Variable Documentation

◆ ENQUEUED_CALL_MUTATION_CONFIGURATION

constexpr EnqueuedCallMutationConfig ENQUEUED_CALL_MUTATION_CONFIGURATION
constexpr
Initial value:

Definition at line 41 of file tx_data.hpp.

◆ TX_MUTATION_CONFIGURATION