params

package
v15.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomconfigTemplate

func CustomconfigTemplate(config wasmtypes.WasmConfig) string

func DefaultConfig

func DefaultConfig() (string, interface{})

Types

type CustomAppConfig

type CustomAppConfig struct {
	serverconfig.Config
	Wasm   wasmtypes.WasmConfig   `mapstructure:"wasm" json:"wasm"`
	Oracle oracleconfig.AppConfig `mapstructure:"oracle" json:"oracle"`
}

CustomAppConfig defines the configuration for the Nois app.

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 compatible configuration.

Jump to

Keyboard shortcuts

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