params

package
v5.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: CC0-1.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

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. NOTE: This is copied from simapp in order to avoid importing that package as a dependency

func MakeTestEncodingConfig

func MakeTestEncodingConfig() EncodingConfig

MakeTestEncodingConfig creates an EncodingConfig for a non-amino based test configuration. This function should be used only internally (in the SDK). App user shouldn't create new codecs - use the app.AppCodec instead. [DEPRECATED] NOTE: This is copied from simapp in order to avoid importing that package as a dependency

Jump to

Keyboard shortcuts

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