package
5.2.0
Repository: https://github.com/desmos-labs/desmos.git
Documentation: pkg.go.dev

# Functions

GenerateRandomAttachment generates a random attachment.
GenerateRandomAttachmentContent returns a randomly generated attachment content.
GenerateRandomMedia returns a randomly generated media content.
GenerateRandomPoll returns a randomly generated poll content.
GenerateRandomPost generates a random post.
GenerateRandomTags returns a slice containing tagsNumber randomly generated tags.
GenerateRandomText returns a random text that does not exceed the given max length.
NewDecodeStore returns a new decoder that unmarshals the KVPair's Value to the corresponding subspaces type.
ProposalMsgs defines the module weighted proposals' contents.
RandomAnswersIndexes returns a random answers indexes slice based on the given poll.
RandomAttachment returns a random attachment from the ones given.
RandomizeGenState generates a random GenesisState for posts.
RandomMaxTextLength returns a random max text length in the [30, 999] range.
RandomPost returns a random post from the slice given.
RandomReplySettings returns a random valid ReplySetting for the post.
SimulateMsgAddPostAttachment tests and runs a single msg add post attachment.
SimulateMsgAnswerPoll tests and runs a single msg answer poll post.
SimulateMsgCreatePost tests and runs a single msg create post.
SimulateMsgDeletePost tests and runs a single msg delete post.
SimulateMsgEditPost tests and runs a single msg edit post.
SimulateMsgRemovePostAttachment tests and runs a single msg remove post attachment.
SimulateMsgUpdateParams returns a random MsgUpdateParams.
WeightedOperations returns all the operations from the module with their respective weights.

# Constants

Simulation operation weights constants nolint:gosec // These are not hardcoded credentials.
Simulation operation weights constants.
Simulation operation weights constants nolint:gosec // These are not hardcoded credentials.
Simulation operation weights constants nolint:gosec // These are not hardcoded credentials.
Simulation operation weights constants nolint:gosec // These are not hardcoded credentials.
Simulation operation weights constants nolint:gosec // These are not hardcoded credentials.
Simulation operation weights constants nolint:gosec // These are not hardcoded credentials.
Simulation operation weights constants nolint:gosec // These are not hardcoded credentials.
nolint:gosec.