params

package
v6.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultWeightMsgSaveProfile               int = 80
	DefaultWeightMsgDeleteProfile             int = 20
	DefaultWeightMsgRequestDTagTransfer       int = 85
	DefaultWeightMsgCancelDTagTransfer        int = 25
	DefaultWeightMsgAcceptDTagTransfer        int = 75
	DefaultWeightMsgRefuseDTagTransfer        int = 25
	DefaultWeightMsgLinkChainAccount          int = 75
	DefaultWeightMsgUnlinkChainAccount        int = 25
	DefaultWeightMsgSetDefaultExternalAddress int = 15

	DefaultWeightMsgCreateRelationship int = 80
	DefaultWeightMsgDeleteRelationship int = 30
	DefaultWeightMsgBlockUser          int = 50
	DefaultWeightMsgUnblockUser        int = 50

	DefaultWeightMsgCreateSubspace              int = 80
	DefaultWeightMsgEditSubspace                int = 30
	DefaultWeightMsgDeleteSubspace              int = 5
	DefaultWeightMsgCreateSection               int = 20
	DefaultWeightMsgEditSection                 int = 12
	DefaultWeightMsgMoveSection                 int = 10
	DefaultWeightMsgDeleteSection               int = 5
	DefaultWeightMsgCreateUserGroup             int = 10
	DefaultWeightMsgEditUserGroup               int = 30
	DefaultWeightMsgMoveUserGroup               int = 30
	DefaultWeightMsgSetUserGroupPermissions     int = 50
	DefaultWeightMsgDeleteUserGroup             int = 5
	DefaultWeightMsgAddUserToUserGroup          int = 7
	DefaultWeightMsgRemoveUserFromUserGroup     int = 3
	DefaultWeightMsgSetUserPermissions          int = 85
	DefaultWeightMsgGrantTreasuryAuthorization  int = 20
	DefaultWeightMsgRevokeTreasuryAuthorization int = 5
	DefaultWeightMsgGrantAllowance              int = 20
	DefaultWeightMsgRevokeAllowance             int = 5

	DefaultWeightMsgCreateReport          int = 50
	DefaultWeightMsgDeleteReport          int = 35
	DefaultWeightMsgSupportStandardReason int = 20
	DefaultWeightMsgAddReason             int = 10
	DefaultWeightMsgRemoveReason          int = 10

	DefaultWeightMsgAddReaction              int = 40
	DefaultWeightMsgRemoveReaction           int = 30
	DefaultWeightMsgAddRegisteredReaction    int = 25
	DefaultWeightMsgEditRegisteredReaction   int = 25
	DefaultWeightMsgRemoveRegisteredReaction int = 15
	DefaultWeightMsgSetReactionsParams       int = 10
)

Default simulation operation weights for messages

Variables

This section is empty.

Functions

func MakeEncodingConfig

func MakeEncodingConfig() simappparams.EncodingConfig

MakeEncodingConfig creates an EncodingConfig for an amino based test configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL