# Packages
No description provided by the author
# Functions
BeginBlockEntry - operation entry for begin block.
CreateTransitionMatrix creates a transition matrix from the provided weights.
EndBlockEntry - operation entry for end block.
GenAndDeliverTx generates a transactions and delivers it.
GenAndDeliverTxWithRandFees generates a transaction with a random fee and delivers it.
GetMemberOfInitialState takes an initial array of weights, of size n.
MsgEntry - operation entry for standard msg.
NewByteSource creates a new ByteSource with a specified byte slice and seed.
NewEventStats creates a new empty EventStats object.
LogWriter - return a dummy or standard log writer given the testingmode.
NewOperationEntry creates a new OperationEntry instance.
NewOperationQueue creates a new OperationQueue instance.
NewSimLegacyParamChange creates a new LegacyParamChange instance.
NewWeightedOperation creates a new WeightedOperation instance.
No description provided by the author
Deprecated: use NewWeightedProposalMsgX instead.
No description provided by the author
QueuedMsgEntry creates an operation entry for a given queued message.
RandomConsensusParams returns random simulation consensus parameters, it extracts the Evidence from the Staking genesis state.
RandomParams returns random simulation parameters.
RandomRequestFinalizeBlock generates a list of signing validators according to the provided list of validators, signing fraction, and evidence fraction.
SimulateFromSeed tests an application by running the provided operations, testing the provided invariants, but using the provided config.Seed.
SimulateFromSeedX tests an application by running the provided operations, testing the provided invariants, but using the provided config.Seed.
SumTruncated returns the first 20 bytes of SHA256 of the bz.
# Constants
No description provided by the author
entry kinds for use within OperationEntry.
entry kinds for use within OperationEntry.
entry kinds for use within OperationEntry.
entry kinds for use within OperationEntry.
TODO: move this somewhere else.
# Structs
ByteSource offers deterministic pseudo-random numbers for math.Rand with fuzzer support.
dummy log writer.
LegacyParamChange defines the object used for simulating parameter change proposals.
OperationEntry - an operation entry for logging (ex.
OperationInput is a struct that holds all the needed values to generate a tx and deliver it.
Params define the parameters necessary for running the simulations.
log writer.
TransitionMatrix is _almost_ a left stochastic matrix.
WeightedOperation is an operation with associated weight.
WeightedProposalContent defines a common struct for proposal content defined by external modules (i.e outside gov)
nolint:staticcheck // used for legacy testing.
WeightedProposalMsg defines a common struct for proposal msgs defined by external modules (i.e outside gov).
# Interfaces
AccountKeeper defines the expected account keeper used for simulations (noalias).
BankKeeper defines the expected interface needed to retrieve account balances.
log writer.
# Type aliases
EventStats defines an object that keeps a tally of each event that has occurred during a simulation.
OperationQueue defines an object for a queue of operations.
WeightedOperations is the group of all weighted operations to simulate.