Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodingConfig ¶
type EncodingConfig struct { InterfaceRegistry codectypes.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(regs ...ModuleRegister) EncodingConfig
MakeEncodingConfig creates an encoding config for the app.
type ModuleRegister ¶
type ModuleRegister interface { RegisterLegacyAminoCodec(*codec.LegacyAmino) RegisterInterfaces(codectypes.InterfaceRegistry) }
Click to show internal directories.
Click to hide internal directories.