simulation

package
v1.19.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Contract = "contract"
)

Simulation parameter constants

View Source
const (
	//nolint:gosec // not credentials
	OpWeightMsgUpdateParams = "op_weight_msg_update_params"
)

Simulation operation weights constants

Variables

This section is empty.

Functions

func ContractFn

func ContractFn(r *rand.Rand, accs []simtypes.Account) string

ContractFn randomized contract address

func NewDecodeStore

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

NewDecodeStore returns a decoder function closure that unmarshalls the KVPair's Value

func ProposalMsgs added in v1.19.0

func ProposalMsgs(simState module.SimulationState, k *keeper.Keeper) []simtypes.WeightedProposalMsg

ProposalMsgs returns all the governance proposal messages.

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState generates a random GenesisState for ibcratelimit

func SimulatePropMsgUpdateParams added in v1.19.0

func SimulatePropMsgUpdateParams(k *keeper.Keeper) simtypes.MsgSimulatorFn

Types

This section is empty.

Jump to

Keyboard shortcuts

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