Documentation ¶
Index ¶
- Constants
- func NewDecodeStore(cdc codec.Codec) func(kvA, kvB kv.Pair) string
- func RandomizedGenState(simState *module.SimulationState)
- func SimulateCreateRecord(ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
- func WeightedOperations(appParams simtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, ...) simulation.WeightedOperations
Constants ¶
View Source
const (
OpWeightMsgCreateRecord = "op_weight_msg_create_record"
)
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func NewDecodeStore ¶
DecodeStore unmarshals the KVPair's Value to the corresponding slashing type
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for record
func SimulateCreateRecord ¶
func SimulateCreateRecord(ak types.AccountKeeper, bk types.BankKeeper) simtypes.Operation
SimulateCreateRecord tests and runs a single msg create a new record
func WeightedOperations ¶
func WeightedOperations( appParams simtypes.AppParams, cdc codec.JSONCodec, ak types.AccountKeeper, bk types.BankKeeper, ) 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.