Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BypassMinFeeMsgTypesKey defines the configuration key for the // BypassMinFeeMsgTypes value. BypassMinFeeMsgTypesKey = "bypass-min-fee.msg-types" // #nosec G101 BypassMinFeeMsgMaxGasUsageKey = "bypass-min-fee.msg-max-gas-usage" // #nosec G101 )
View Source
const CustomConfigTemplate = `` /* 670-byte string literal not displayed */
View Source
const (
DefaultGasCap uint64 = 30000000
)
Variables ¶
This section is empty.
Functions ¶
func AppConfig ¶
AppConfig helps to override default appConfig template and configs. return "", nil if no custom configuration is required for the application.
func DefaultConfigTemplate ¶
func DefaultConfigTemplate() string
func DefaultTendermintConfig ¶
DefaultTendermintConfig returns tendermint default configuration.
Types ¶
type BypassMinFee ¶
type BypassMinFee struct { // MsgTypes defines custom message types the operator may set that // will bypass minimum fee checks during CheckTx. MsgTypes []string `mapstructure:"msg-types"` MsgMaxGasUsage uint64 `mapstructure:"msg-max-gas-usage"` }
BypassMinFee defines custom that will bypass minimum fee checks during CheckTx.
func DefaultBypassMinFee ¶
func DefaultBypassMinFee() BypassMinFee
DefaultBypassMinFee returns the default BypassMinFee configuration
type Config ¶
type Config struct { config.Config `mapstructure:",squash"` // BypassMinFeeMsgTypes defines custom that will bypass minimum fee checks during CheckTx. BypassMinFee BypassMinFee `mapstructure:"bypass-min-fee"` EVM ethermintconfig.EVMConfig `mapstructure:"evm"` JSONRPC ethermintconfig.JSONRPCConfig `mapstructure:"json-rpc"` TLS ethermintconfig.TLSConfig `mapstructure:"tls"` }
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns server's default configuration.
func (*Config) ToEthermintConfig ¶
func (c *Config) ToEthermintConfig() *ethermintconfig.Config
func (*Config) ValidateBasic ¶
ValidateBasic returns an error any of the application configuration fields are invalid
Click to show internal directories.
Click to hide internal directories.