diff --git a/CHANGELOG.md b/CHANGELOG.md index 8122aaad77..90cea21115 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (x/collection) [\#622](https://github.com/line/lbm-sdk/pull/622) add Query/TokenClassTypeName * (x/bank) [\#629](https://github.com/line/lbm-sdk/pull/629) remove unsafe balance changing methods from bank keeper such as `SetBalance` and `SetSupply`. * (x/wasm) [\#649](https://github.com/line/lbm-sdk/pull/649) fix: wasm module's FIXME in the snapshotter.go file +* (config) [\#665](https://github.com/line/lbm-sdk/pull/665) remove bech32-cache-size ### Improvements diff --git a/server/config/config.go b/server/config/config.go index 042260ab70..339fa2be86 100644 --- a/server/config/config.go +++ b/server/config/config.go @@ -79,9 +79,6 @@ type BaseConfig struct { // IAVL cache size; bytes size unit IAVLCacheSize uint64 `mapstructure:"iavl-cache-size"` - // Bech32CacheSize is the maximum bytes size of bech32 cache (Default : 1GB) - Bech32CacheSize int `mapstructure:"bech32-cache-size"` - // When true, Prometheus metrics are served under /metrics on prometheus_listen_addr in config.toml. // It works when tendermint's prometheus option (config.toml) is set to true. Prometheus bool `mapstructure:"prometheus"` diff --git a/server/config/toml.go b/server/config/toml.go index d7da002cab..83c961a59c 100644 --- a/server/config/toml.go +++ b/server/config/toml.go @@ -69,9 +69,6 @@ inter-block-cache-size = {{ .BaseConfig.InterBlockCacheSize }} # IAVLCacheSize is the maximum bytes size of iavl node cache iavl-cache-size = {{ .BaseConfig.IAVLCacheSize }} -# Bech32CacheSize is the maximum bytes size of bech32 cache (Default : 1GB) -bech32-cache-size = {{ .BaseConfig.Bech32CacheSize }} - # IndexEvents defines the set of events in the form {eventType}.{attributeKey}, # which informs Tendermint what to index. If empty, all events will be indexed. # diff --git a/server/start.go b/server/start.go index e30c2aeeed..56cea0e419 100644 --- a/server/start.go +++ b/server/start.go @@ -48,7 +48,6 @@ const ( FlagInterBlockCache = "inter-block-cache" FlagInterBlockCacheSize = "inter-block-cache-size" FlagIAVLCacheSize = "iavl-cache-size" - FlagBech32CacheSize = "bech32-cache-size" FlagUnsafeSkipUpgrades = "unsafe-skip-upgrades" FlagTrace = "trace" FlagInvCheckPeriod = "inv-check-period"