# Functions
BeginBlockEntry - operation entry for begin block.
CreateTransitionMatrix creates a transition matrix from the provided weights.
Derive a new rand deterministically from a rand.
EndBlockEntry - operation entry for end block.
GetMemberOfInitialState takes an initial array of weights, of size n.
MsgEntry - operation entry for standard msg.
NewEventStats creates a new empty EventStats object.
LogWriter - return a dummy or standard log writer given the testingmode.
NewOperationEntry creates a new OperationEntry instance.
NewOperationMsg - create a new operation message from sdk.Msg.
NewOperationMsgBasic creates a new operation message from raw input.
NewOperationQueue creates a new OperationQueue instance.
NoOpMsg - create a no-operation message.
PeriodicInvariants returns an array of wrapped Invariants.
QueuedMsgEntry creates an operation entry for a given queued message.
RandIntBetween returns a random int between two numbers inclusively.
RandomAcc pick a random account from an array.
RandomAccounts generates n random accounts.
Generate a random amount Note: The range of RandomAmount includes max, and is, in fact, biased to return max as well as 0.
RandomDecAmount generates a random decimal amount Note: The range of RandomDecAmount includes max, and is, in fact, biased to return max as well as 0.
Return random simulation parameters.
RandomRequestBeginBlock generates a list of signing validators according to the provided list of validators, signing fraction, and evidence fraction.
get a rand positive sdk.Int.
shamelessly copied from https://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-golang#31832326 Generate a random string of a particular length.
RandTimestamp generates a random timestamp.
SimulateFromSeed tests an application by running the provided operations, testing the provided invariants, but using the provided seed.
# Constants
nolint.
entry kinds for use within OperationEntry.
nolint.
nolint.
nolint.
nolint.
entry kinds for use within OperationEntry.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
entry kinds for use within OperationEntry.
entry kinds for use within OperationEntry.
Simulation parameter constants.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
nolint.
# Variables
ModuleParamSimulator defines module parameter value simulators.
# Structs
Account contains a privkey, pubkey, address tuple eventually more useful data can be placed in here.
_____________________ dummy log writter.
FutureOperation is an operation which will be ran at the beginning of the provided BlockHeight.
OperationEntry - an operation entry for logging (ex.
OperationMsg - structure for operation output.
Simulation parameters.
log writter.
TransitionMatrix is _almost_ a left stochastic matrix.
WeightedOperation is an operation with associated weight.
# Interfaces
log writter.
# Type aliases
TODO add description.
AppStateFn returns the app state json bytes, the genesis accounts, and the chain identifier.
EventStats defines an object that keeps a tally of each event that has occurred during a simulation.
Operation runs a state machine transition, and ensures the transition happened as exported.
OperationQueue defines an object for a queue of operations.
TODO add description.
WeightedOperations is the group of all weighted operations to simulate.