simulation

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpWeightMsgSend      = "op_weight_msg_send"
	OpWeightMsgMultiSend = "op_weight_msg_multisend"
)

Simulation operation weights constants

Variables

This section is empty.

Functions

func SimulateMsgMultiSend added in v0.4.0

func SimulateMsgMultiSend(ak types.AccountKeeper, bk bank.Keeper) simulation.Operation

SimulateMsgMultiSend tests and runs a single msg multisend, with randomized, capped number of inputs/outputs. all accounts in msg fields exist in state nolint: funlen

func SimulateMsgSend added in v0.4.0

func SimulateMsgSend(ak types.AccountKeeper, bk bank.Keeper) simulation.Operation

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

func WeightedOperations added in v0.4.0

func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, ak types.AccountKeeper,
	bk bank.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