simulation

package
v2.2.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 17 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	OpWeightMsgSink           = "op_weight_sink"                 //nolint:gosec // simulation weight key
	OpWeightMsgReportOutcome  = "op_weight_sink_report_outcome"  //nolint:gosec // simulation weight key
	OpWeightMsgFinalizeRefund = "op_weight_sink_finalize_refund" //nolint:gosec // simulation weight key
)
View Source
const (
	OpWeightMsgUpdateParams = "op_weight_sink_update_params" //nolint:gosec // simulation weight key
	OpWeightMsgRequestVoid  = "op_weight_sink_request_void"  //nolint:gosec // simulation weight key
)

Variables

This section is empty.

Functions

func RandomizedGenState

func RandomizedGenState(simState *module.SimulationState)

RandomizedGenState enables Sink with ordinary simulation accounts as reporters. Auth and bank's simulation genesis provide their accounts and initial funds.

func SimulateMsgFinalizeRefund

func SimulateMsgFinalizeRefund(txConfig client.TxConfig, ak keeper.AccountKeeper, bk keeper.BankKeeper, k keeper.Keeper) simtypes.Operation

func SimulateMsgRequestVoid

func SimulateMsgRequestVoid(k keeper.Keeper) simtypes.MsgSimulatorFn

func SimulateMsgUpdateParams

func SimulateMsgUpdateParams(k keeper.Keeper) simtypes.MsgSimulatorFn

func WeightedOperations

WeightedOperations uses signed, single-message transactions, including Sink's ante binding.

Types

This section is empty.

Jump to

Keyboard shortcuts

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