Documentation ¶
Index ¶
- Constants
- func ContractFn(r *rand.Rand, accs []simtypes.Account) string
- func Dispatch(r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, from simtypes.Account, ...) (simtypes.OperationMsg, []simtypes.FutureOperation, error)
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func RandomAccs(r *rand.Rand, accs []simtypes.Account, count uint64) ([]simtypes.Account, error)
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgGovUpdateParams(_ keeper.Keeper, ak authkeeper.AccountKeeperI, bk bankkeeper.Keeper) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, k keeper.Keeper, ...) simulation.WeightedOperations
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 ¶
ContractFn randomized conntract address
func Dispatch ¶
func Dispatch( r *rand.Rand, app *baseapp.BaseApp, ctx sdk.Context, from simtypes.Account, chainID string, msg sdk.Msg, ak authkeeper.AccountKeeperI, bk bankkeeper.Keeper, futures []simtypes.FutureOperation, ) ( simtypes.OperationMsg, []simtypes.FutureOperation, error, )
Dispatch sends an operation to the chain using a given account/funds on account for fees. Failures on the server side are handled as no-op msg operations with the error string as the status/response.
func NewDecodeStore ¶
NewDecodeStore returns a decoder function closure that unmarshalls the KVPair's Value
func RandomAccs ¶
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for ibcratelimit
func SimulateMsgGovUpdateParams ¶
func SimulateMsgGovUpdateParams(_ keeper.Keeper, ak authkeeper.AccountKeeperI, bk bankkeeper.Keeper) simtypes.Operation
SimulateMsgGovUpdateParams sends a MsgUpdateParams.
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, k keeper.Keeper, ak authkeeper.AccountKeeperI, bk bankkeeper.Keeper, ) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.