Skip to content

Commit

Permalink
feat: remove bech32-cache-size (#665)
Browse files Browse the repository at this point in the history
* feat: remote bech32-cache-size

* docs: update CHANGELOG.md
  • Loading branch information
dudong2 authored Sep 7, 2022
1 parent 070ab3f commit 40de4ce
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 0 additions & 3 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
3 changes: 0 additions & 3 deletions server/config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down
1 change: 0 additions & 1 deletion server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 40de4ce

Please sign in to comment.