Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomConfigTempalte ¶
func CustomConfigTempalte() string
func DefaultConfig ¶
func DefaultConfig() (string, interface{})
Types ¶
type CustomAppConfig ¶
type CustomAppConfig struct { serverconfig.Config WASM WasmConfig `mapstructure:"wasm"` }
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.
type WasmConfig ¶
type WasmConfig struct { // SimulationGasLimit is the max gas that can be spent when executing a simulation TX. SimulationGasLimit uint64 `mapstructure:"simulation_gas_limit"` // QueryGasLimit is the maximum sdk gas (wasm and storage) that we allow for any x/wasm "smart" queries QueryGasLimit uint64 `mapstructure:"query_gas_limit"` // MemoryCacheSize defines the memory size for Wasm modules that we can keep cached to speed-up instantiation // The value is in MiB not bytes MemoryCacheSize uint64 `mapstructure:"memory_cache_size"` }
Click to show internal directories.
Click to hide internal directories.