simulation

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpWeightMsgCreateDeployment      = "op_weight_msg_ghostcloud_create_deployment" // nolint: gosec
	OpWeightMsgRemoveDeployment      = "op_weight_msg_ghostcloud_remove_deployment" // nolint: gosec
	OpWeightMsgUpdateDeployment      = "op_weight_msg_ghostcloud_update_deployment" // nolint: gosec
	DefaultWeightMsgCreateDeployment = 100
	DefaultWeightMsgRemoveDeployment = 20
	DefaultWeightMsgUpdateDeployment = 80
)

Variables

This section is empty.

Functions

func ProposalMsgs

func ProposalMsgs() []simtypes.WeightedProposalMsg

func SimulateMsgCreateDeployment

func SimulateMsgCreateDeployment(
	txGen client.TxConfig,
	k keeper.Keeper,
) simtypes.Operation

func SimulateMsgRemoveDeployment

func SimulateMsgRemoveDeployment(
	txGen client.TxConfig,
	k keeper.Keeper,
) simtypes.Operation

func SimulateMsgUpdateDeployment

func SimulateMsgUpdateDeployment(
	txGen client.TxConfig,
	k keeper.Keeper,
) simtypes.Operation

func WeightedOperations

func WeightedOperations(appParams simtypes.AppParams,
	_ codec.JSONCodec,
	txGen client.TxConfig,
	k keeper.Keeper,
) []simtypes.WeightedOperation

WeightedOperations returns the all the gov module operations 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