fix: add iavl-cache-size config parsing to GetConfig (backport #10990) (#11058)

This commit is contained in:
mergify[bot] 2022-01-29 11:19:57 +00:00 committed by GitHub
parent 985d221518
commit 0c9bbbc68f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Bug Fixes
* (grpc) [\#10985](https://github.com/cosmos/cosmos-sdk/pull/10992) The `/cosmos/tx/v1beta1/txs/{hash}` endpoint returns a 404 when a tx does not exist.
* [\#10990](https://github.com/cosmos/cosmos-sdk/pull/10990) Fixes missing `iavl-cache-size` config parsing in `GetConfig` method.
### Improvements

View File

@ -271,6 +271,7 @@ func GetConfig(v *viper.Viper) Config {
HaltTime: v.GetUint64("halt-time"),
IndexEvents: v.GetStringSlice("index-events"),
MinRetainBlocks: v.GetUint64("min-retain-blocks"),
IAVLCacheSize: v.GetUint64("iavl-cache-size"),
},
Telemetry: telemetry.Config{
ServiceName: v.GetString("telemetry.service-name"),