package
0.0.0-20230307095339-03ee383c5cd9
Repository: https://github.com/gridiron-zone/huddle.git
Documentation: pkg.go.dev
# Functions
GenerateRandomSubspace generates a new subspace containing random data.
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 subspaces type.
RandomAddress returns a random address from the slice given.
RandomAuthAccount returns a random account from the slice given.
RandomDate returns a random post creation date.
RandomDescription returns a random subspace description.
RandomGroup returns a random group selecting it from the list of groups given.
RandomID returns a new random ID.
RandomizeGenState generates a random GenesisState for subspaces.
RandomName returns a random subspace name.
RandomPermission returns a random permission from the given slice.
RandomSection returns a randomly selected section from the slice given.
RandomSectionDescription returns a random section description.
RandomSectionName returns a random section name.
RandomSubspace picks a random subspace from an array and returns its position as well as value.
SimulateMsgAddUserToUserGroup tests and runs a single MsgAddUserToUserGroup.
SimulateMsgCreateSection tests and runs a single MsgCreateSection.
SimulateMsgCreateSubspace tests and runs a single MsgCreateSubspace.
SimulateMsgCreateUserGroup tests and runs a single MsgCreateUserGroup.
SimulateMsgDeleteSection tests and runs a single MsgDeleteSection.
SimulateMsgDeleteSubspace tests and runs a single msg delete subspace.
SimulateMsgDeleteUserGroup tests and runs a single MsgDeleteUserGroup.
SimulateMsgEditSection tests and runs a single MsgEditSection.
SimulateMsgEditSubspace tests and runs a single msg edit subspace.
SimulateMsgEditUserGroup tests and runs a single MsgEditUserGroup.
SimulateMsgMoveSection tests and runs a single MsgMoveSection.
SimulateMsgMoveUserGroup tests and runs a single MsgMoveUserGroup.
SimulateMsgRemoveUserFromUserGroup tests and runs a single MsgRemoveUserFromUserGroup.
SimulateMsgSetUserGroupPermissions tests and runs a single MsgSetUserGroupPermissions.
SimulateMsgSetUserPermissions tests and runs a single MsgSetUserPermissions.
WeightedOperations returns all the operations from the module with their respective weights.
# Constants
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.
Simulation operation weights constants #nosec G101 -- This is a false positive.