simulation

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	OpWeightMsgCreateRecord = "op_weight_msg_create_record"
)

Simulation operation weights constants

Variables

This section is empty.

Functions

func NewDecodeStore

func NewDecodeStore(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string

DecodeStore unmarshals the KVPair's Value to the corresponding slashing type

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for record

func SimulateCreateRecord

func SimulateCreateRecord(ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation

SimulateCreateRecord tests and runs a single msg create a new record

func 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