Documentation ¶
Index ¶
- Constants
- func ParamChanges(r *rand.Rand, cdc codec.Codec) []simtypes.ParamChange
- func RandomParams(r *rand.Rand) types.Params
- func RandomizedGenState(simstate *module.SimulationState)
- func SimulateMsgInstantiateContract(ak types.AccountKeeper, bk simulation.BankKeeper, wasmKeeper WasmKeeper) simtypes.Operation
- func SimulateMsgStoreCode(ak types.AccountKeeper, bk simulation.BankKeeper, wasmKeeper WasmKeeper, ...) simtypes.Operation
- func WeightedOperations(simstate *module.SimulationState, ak types.AccountKeeper, ...) simulation.WeightedOperations
- type WasmKeeper
Constants ¶
View Source
const ( OpWeightMsgStoreCode = "op_weight_msg_store_code" OpWeightMsgInstantiateContract = "op_weight_msg_instantiate_contract" OpReflectContractPath = "op_reflect_contract_path" )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func ParamChanges ¶
func RandomizedGenState ¶
func RandomizedGenState(simstate *module.SimulationState)
RandomizeGenState generates a random GenesisState for wasm
func SimulateMsgInstantiateContract ¶ added in v0.46.0
func SimulateMsgInstantiateContract(ak types.AccountKeeper, bk simulation.BankKeeper, wasmKeeper WasmKeeper) simtypes.Operation
SimulateMsgInstantiateContract generates a MsgInstantiateContract with random values
func SimulateMsgStoreCode ¶ added in v0.46.0
func SimulateMsgStoreCode(ak types.AccountKeeper, bk simulation.BankKeeper, wasmKeeper WasmKeeper, wasmBz []byte) simtypes.Operation
SimulateMsgStoreCode generates a MsgStoreCode with random values
func WeightedOperations ¶ added in v0.46.0
func WeightedOperations( simstate *module.SimulationState, ak types.AccountKeeper, bk simulation.BankKeeper, wasmKeeper WasmKeeper, ) simulation.WeightedOperations
WeightedOperations returns all the operations from the module with their respective weights
Types ¶
Click to show internal directories.
Click to hide internal directories.