package
0.16.4
Repository: https://github.com/irisnet/irishub.git
Documentation: pkg.go.dev

# Functions

CreateTransitionMatrix creates a transition matrix from the provided weights.
Return default simulation parameters.
Pretty-print events as a table.
GetMemberOfInitialState takes an initial array of weights, of size n.
TODO remove? not being called anywhere PeriodicInvariant returns an Invariant function closure that asserts a given invariant if the mock application's last block modulo the given period is congruent to the given offset.
RandomAcc pick a random account from an array.
RandomAccounts generates n random accounts.
Generate a random amount.
RandomDecAmount generates a random decimal amount.
Return random simulation parameters.
RandomRequestBeginBlock generates a list of signing validators according to the provided list of validators, signing fraction, and evidence fraction nolint: unparam.
RandomSetGenesis wraps mock.RandomSetGenesis, but using simulation accounts.
Generate a random string of a particular length.
Simulate tests application by sending random messages.
SimulateFromSeed tests an application by running the provided operations, testing the provided invariants, but using the provided seed.

# Structs

No description provided by the author
No description provided by the author
Simulation parameters.
TransitionMatrix is _almost_ a left stochastic matrix.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author