simulation

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SendEnabled = "send_enabled"
)

Simulation parameter constants

Variables

This section is empty.

Functions

func GenSendEnabled

func GenSendEnabled(r *rand.Rand) bool

GenSendEnabled randomized SendEnabled

func ParamChanges

func ParamChanges(r *rand.Rand) []simtypes.ParamChange

ParamChanges defines the parameters that can be modified by param change proposals on the simulation

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for bank

func SimulateMsgSend

func SimulateMsgSend(ak types.AccountKeeper, bk keeper.Keeper) simtypes.Operation

SimulateMsgSend tests and runs a single msg send where both accounts already exist. nolint: funlen

func WeightedOperations

func WeightedOperations(appParams simtypes.AppParams, cdc *codec.Codec, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL