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

# Functions

GetAccount gets the account having the given address from the accs list.
NewDecodeStore returns a new decoder that unmarshals the KVPair's Value to the corresponding posts type.
No description provided by the author
RandomAttachments returns a randomly generated list of post attachments.
RandomCommentsState returns a random comments state.
RandomDate returns a random post creation date.
RandomEmojiPostReaction returns a random post reaction representing an emoji reaction.
RandomizedGenState generates a random GenesisState for auth.
RandomMessage returns a random post message from the above random lorem phrases.
No description provided by the author
RandomPollData returns a randomly generated poll data.
RandomPost picks and returns a random post from an array and returns its position in the array.
RandomPostData returns a randomly generated PostData based on the given random and accounts list.
RandomPostID returns a randomly generated postID.
RandomPostIDFromPosts returns a randomly extracted post id from the list of posts given.
RandomPostReactionData returns a randomly generated post reaction data object.
RandomReactionData returns a randomly generated reaction data object.
No description provided by the author
No description provided by the author
RandomReportsData returns a randomly generated ReportsData based on the given random posts and accounts list.
No description provided by the author
RandomSubspace returns a random post subspace from the above random subspaces.
SimulateMsgAddPostReaction tests and runs a single msg add reaction where the reacting user account already exists nolint: funlen.
SimulateMsgAnswerToPoll tests and runs a single msg poll answer where the answering user account already exists nolint: funlen.
SimulateMsgCreatePost tests and runs a single msg create post where the post creator account already exists nolint: funlen.
SimulateMsgEditPost tests and runs a single msg edit post where the post creator account already exists nolint: funlen.
SimulateMsgRegisterReaction tests and runs a single msg register reaction where the registering user account already exist nolint: funlen.
SimulateMsgRemovePostReaction tests and runs a single msg remove reaction where the reacting user account already exists nolint: funlen.
SimulateMsgReportPost tests and runs a single MsgReportPost created by a random account.
WeightedOperations returns all the operations from the module with their respective weights.

# Constants

Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.
Simulation operation weights constants.

# Variables

No description provided by the author
No description provided by the author

# Structs

PostData contains the randomly generated data of a post.
PostReactionData contains all the data needed for a post reaction to be properly added or removed from a post.
ReactionData contains all the data needed for a registered reaction to be properly registered.
No description provided by the author