Documentation ¶
Index ¶
- Constants
- Variables
- func NewStoreDecoder(cdc codec.Marshaler) func(kvA, kvB kv.Pair) string
- func ParamChanges(_ *rand.Rand) []simulationtypes.ParamChange
- func RandomizedGenesisState(state *module.SimulationState) *types.GenesisState
- func SimulateMsgEndRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
- func SimulateMsgStartRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
- func SimulateMsgUpdateRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
- func WeightedOperations(params simulationtypes.AppParams, cdc codec.JSONMarshaler, ...) simulation.WeightedOperations
Constants ¶
View Source
const ( MaxSessionDuration = 1 << 18 MaxSessionBandwidthUpload = math.MaxInt32 MaxSessionBandwidthDownload = math.MaxInt32 )
View Source
const (
MaxInactiveDuration = 1 << 18
)
Variables ¶
View Source
var ( OperationWeightMsgStartRequest = "op_weight_" + types.TypeMsgStartRequest OperationWeightMsgUpdateRequest = "op_weight_" + types.TypeMsgUpdateRequest OperationWeightMsgEndRequest = "op_weight_" + types.TypeMsgEndRequest )
Functions ¶
func NewStoreDecoder ¶ added in v0.8.0
func ParamChanges ¶ added in v0.8.0
func ParamChanges(_ *rand.Rand) []simulationtypes.ParamChange
func RandomizedGenesisState ¶ added in v0.4.0
func RandomizedGenesisState(state *module.SimulationState) *types.GenesisState
func SimulateMsgEndRequest ¶ added in v0.8.0
func SimulateMsgEndRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
func SimulateMsgStartRequest ¶ added in v0.8.0
func SimulateMsgStartRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
func SimulateMsgUpdateRequest ¶ added in v0.8.0
func SimulateMsgUpdateRequest(ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper) simulationtypes.Operation
func WeightedOperations ¶ added in v0.4.0
func WeightedOperations( params simulationtypes.AppParams, cdc codec.JSONMarshaler, ak expected.AccountKeeper, bk expected.BankKeeper, k keeper.Keeper, ) simulation.WeightedOperations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.