Documentation ¶
Index ¶
- func SimulateMsgDeposit(k gov.Keeper, sk stake.Keeper) simulation.Operation
- func SimulateMsgSubmitProposal(k gov.Keeper, sk stake.Keeper) simulation.Operation
- func SimulateMsgVote(k gov.Keeper, sk stake.Keeper) simulation.Operation
- func SimulateSubmittingVotingAndSlashingForProposal(k gov.Keeper, sk stake.Keeper) simulation.Operation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SimulateMsgDeposit ¶
SimulateMsgDeposit
func SimulateMsgSubmitProposal ¶
SimulateMsgSubmitProposal simulates a msg Submit Proposal Note: Currently doesn't ensure that the proposal txt is in JSON form
func SimulateMsgVote ¶
SimulateMsgVote nolint: unparam
func SimulateSubmittingVotingAndSlashingForProposal ¶
func SimulateSubmittingVotingAndSlashingForProposal(k gov.Keeper, sk stake.Keeper) simulation.Operation
SimulateSubmittingVotingAndSlashingForProposal simulates creating a msg Submit Proposal voting on the proposal, and subsequently slashing the proposal. It is implemented using future operations. TODO: Vote more intelligently, so we can actually do some checks regarding votes passing or failing TODO: Actually check that validator slashings happened
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.