package
0.0.0-20220620005849-a315113d9162
Repository: https://github.com/mycodeku/transtionhelper.git
Documentation: pkg.go.dev
# 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.
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.
NewSimParamChange creates a new ParamChange instance.
NewWeightedOperation creates a new WeightedOperation instance.
No description provided by the author
QueuedMsgEntry creates an operation entry for a given queued message.
RandomParams returns random simulation parameters.
RandomRequestBeginBlock 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.
# 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.
# Structs
dummy log writter.
OperationEntry - an operation entry for logging (ex.
OperationInput is a struct that holds all the needed values to generate a tx and deliver it.
ParamChange defines the object used for simulating parameter change proposals.
Params define the parameters necessary for running the simulations.
log writter.
TransitionMatrix is _almost_ a left stochastic matrix.
WeightedOperation is an operation with associated weight.
WeightedProposalContent defines a common struct for proposal contents 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 writter.
# 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.