Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultWeightMsgCreateValidator int = 100 DefaultWeightMsgUpdateValidator int = 10 DefaultWeightMsgDelegate int = 200 DefaultWeightMsgUndelegate int = 50 DefaultWeightMsgStoreCode int = 50 DefaultWeightMsgInstantiateContract int = 100 DefaultWeightMsgExecuteContract 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 Codec 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.
func MakeEncodingConfig ¶
func MakeEncodingConfig() EncodingConfig
MakeEncodingConfig creates an EncodingConfig for an amino based test configuration.
Click to show internal directories.
Click to hide internal directories.