Documentation ¶
Index ¶
- Constants
- func RandomGenesisBalances(simState *module.SimulationState) []types.Balance
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgMultiSend(ak types.AccountKeeper, bk keeper.Keeper) simtypes.Operation
- func SimulateMsgSend(ak types.AccountKeeper, bk keeper.Keeper) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgSend = "op_weight_msg_send" //#nosec OpWeightMsgMultiSend = "op_weight_msg_multisend" //#nosec )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func RandomGenesisBalances ¶
func RandomGenesisBalances(simState *module.SimulationState) []types.Balance
RandomGenesisBalances returns a slice of account balances. Each account has a balance of simState.InitialStake for sdk.DefaultBondDenom and core.MicroLunaDenom.
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for bank
func SimulateMsgMultiSend ¶
SimulateMsgMultiSend tests and runs a single msg multisend, with randomized, capped number of inputs/outputs. all accounts in msg fields exist in state
func SimulateMsgSend ¶
SimulateMsgSend tests and runs a single msg send where both accounts already exist. nolint: funlen
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, bk keeper.Keeper, ) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.