package
0.2.1-a20230808192317-m1unchained
Repository: https://github.com/merlins-labs/merlin.git
Documentation: pkg.go.dev

# Functions

BeginBlockEntry - operation entry for begin block.
DefaultRandomConsensusParams returns random simulation consensus parameters, it extracts the Evidence from the Staking genesis state.
TODO: cleanup args in the future, should ideally just be a slice.
EndBlockEntry - operation entry for end block.
GetSimulatorFlags gets the values of all the available simulation flags.
MsgEntry - operation entry for standard msg.
NewConfigFromFlags creates a simulation from the retrieved values of the flags.
No description provided by the author
No description provided by the author
No description provided by the author
LogWriter - return a dummy or standard log writer given the testingmode.
NewOperationEntry creates a new OperationEntry instance.
NewOperationQueue creates a new OperationQueue instance.
PrintStats prints the corresponding statistics from the app DB.
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.
RandomAccounts generates n random accounts.
SetupSimulation creates the config, db (levelDB), temporary directory and logger for the simulation tests.
SimulateFromSeed tests an application by running the provided operations, testing the provided invariants, but using the provided config.Seed.
No description provided by the author

# 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.

# Variables

List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
TODO: Remove in favor of binary search for invariant violation.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.
List of available flags for the simulator.

# Structs

No description provided by the author
dummy log writter.
EmptyAppOptions is a stub implementing AppOptions.
No description provided by the author
TODO: Consider adding consensus parameters / simulator params / tendermint params to this.
Config for how to initialize the simulator state.
OperationEntry - an operation entry for logging (ex.
Params define the parameters necessary for running the simulations.
log writter.

# Interfaces

log writter.

# Type aliases

AppStateFn returns the app state json bytes and the genesis accounts.
No description provided by the author
No description provided by the author
OperationQueue defines an object for a queue of operations.
RandomAccountFn returns a slice of n random simulation accounts.