params

package
v1.19.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Name
	DefaultWeightMsgBindName            int = 15
	DefaultWeightMsgDeleteName          int = 10
	DefaultWeightMsgModifyName          int = 5
	DefaultWeightCreateRootNameProposal int = 10
	// Attribute
	DefaultWeightMsgAddAttribute            int = 15
	DefaultWeightMsgUpdateAttribute         int = 5
	DefaultWeightMsgDeleteAttribute         int = 5
	DefaultWeightMsgDeleteDistinctAttribute int = 5
	DefaultWeightMsgSetAccountData          int = 10
	// Marker
	DefaultWeightMsgAddMarker                 int = 30
	DefaultWeightMsgChangeStatus              int = 10
	DefaultWeightMsgFinalize                  int = 10
	DefaultWeightMsgAddAccess                 int = 10
	DefaultWeightMsgAddFinalizeActivateMarker int = 10
	DefaultWeightMsgAddMarkerProposal         int = 40
	DefaultWeightMsgUpdateDenySendList        int = 10
	// Trigger
	DefaultWeightSubmitCreateTrigger  int = 95
	DefaultWeightSubmitDestroyTrigger int = 5
	// Oracle
	DefaultWeightUpdateOracle    int = 25
	DefaultWeightSendOracleQuery int = 75
	// Ibc Rate Limiter
	DefaultWeightIBCRLUpdateParams int = 100
)

Default simulation operation weights for messages and gov proposals

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodingConfig

type EncodingConfig struct {
	InterfaceRegistry types.InterfaceRegistry
	Marshaler         codec.Codec
	TxConfig          client.TxConfig
	Amino             *codec.LegacyAmino
}

EncodingConfig specifies the concrete encoding types to use for a given app. This is provided for compatibility between protobuf and amino implementations.

var AppEncodingConfig EncodingConfig

AppEncodingConfig is a global encoding config made available for areas where we don't otherwise have access to it. It's set (and updated) during app.New.

Jump to

Keyboard shortcuts

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