simulation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxValueLength = "max_value_length"
)

Simulation parameter constants

Variables

This section is empty.

Functions

func GenMaxValueLength

func GenMaxValueLength(r *rand.Rand) uint32

GenMaxValueLength randomized MaxValueLength

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 ProposalContents

func ProposalContents(k keeper.Keeper) []simtypes.WeightedProposalContent

ProposalContents defines the module weighted proposals' contents (none for attribute)

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for distribution

Types

This section is empty.

Jump to

Keyboard shortcuts

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