Documentation ¶
Index ¶
- Constants
- func DecodeStore(cdc *codec.Codec, kvA, kvB tmkv.Pair) string
- func GenGasMultiplier(r *rand.Rand) uint64
- func GenMaxContractGas(r *rand.Rand) uint64
- func GenMaxContractMsgSize(r *rand.Rand) uint64
- func GenMaxContractSize(r *rand.Rand) uint64
- func ParamChanges(r *rand.Rand) []simulation.ParamChange
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateMsgExecuteContract(ak authkeeper.AccountKeeper, bk bank.Keeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgInstantiateContract(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgMigrateContract(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgStoreCode(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
- func SimulateMsgUpdateContractOwner(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
- func WeightedOperations(appParams simulation.AppParams, cdc *codec.Codec, ak authkeeper.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( OpWeightMsgStoreCode = "op_weight_msg_store_code" OpWeightMsgInstantiateContract = "op_weight_msg_instantiate_contract" OpWeightMsgExecuteContract = "op_weight_msg_execute_contract" OpWeightMsgMigrateContract = "op_weight_msg_migrate_contract" OpWeightMsgUpdateContractOwner = "op_weight_msg_update_contract_owner" )
Variables ¶
This section is empty.
Functions ¶
func DecodeStore ¶
DecodeStore unmarshals the KVPair's Value to the corresponding distribution type
func GenGasMultiplier ¶
GenGasMultiplier randomized GasMultiplier
func GenMaxContractGas ¶
GenMaxContractGas randomized MaxContractGas
func GenMaxContractMsgSize ¶
GenMaxContractMsgSize randomized MaxContractMsgSize
func GenMaxContractSize ¶
GenMaxContractSize randomized MaxContractSize
func ParamChanges ¶
func ParamChanges(r *rand.Rand) []simulation.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals on the simulation
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for wasm
func SimulateMsgExecuteContract ¶
func SimulateMsgExecuteContract(ak authkeeper.AccountKeeper, bk bank.Keeper, k keeper.Keeper) simulation.Operation
nolint: funlen
func SimulateMsgInstantiateContract ¶
func SimulateMsgInstantiateContract(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
nolint: funlen
func SimulateMsgMigrateContract ¶
func SimulateMsgMigrateContract(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
nolint: funlen
func SimulateMsgStoreCode ¶
func SimulateMsgStoreCode(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
nolint: funlen
func SimulateMsgUpdateContractOwner ¶
func SimulateMsgUpdateContractOwner(ak authkeeper.AccountKeeper, k keeper.Keeper) simulation.Operation
nolint: funlen
func WeightedOperations ¶
func WeightedOperations( appParams simulation.AppParams, cdc *codec.Codec, ak authkeeper.AccountKeeper, bk bank.Keeper, k keeper.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.