Skip to content

Commit 3f29739

Browse files
authored
fix(server): v0.45.x Populate the PruningKeepEvery config entry in GetConfig. (#13610)
* Populate the PruningKeepEvery config entry in GetConfig. * Update changlog.
1 parent 1596edf commit 3f29739

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
5050

5151
* [#13588](https://github.com/cosmos/cosmos-sdk/pull/13588) Fix regression in distrubtion.WithdrawDelegationRewards when rewards are zero
5252
* [#13564](https://github.com/cosmos/cosmos-sdk/pull/13564) - Fix `make proto-gen`.
53+
* (server) [#13610](https://github.com/cosmos/cosmos-sdk/pull/13610) Read the pruning-keep-every field again.
5354

5455
## v0.45.9 - 2022-10-14
5556

server/config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ func GetConfig(v *viper.Viper) (Config, error) {
277277
InterBlockCache: v.GetBool("inter-block-cache"),
278278
Pruning: v.GetString("pruning"),
279279
PruningKeepRecent: v.GetString("pruning-keep-recent"),
280+
PruningKeepEvery: v.GetString("pruning-keep-every"),
280281
PruningInterval: v.GetString("pruning-interval"),
281282
HaltHeight: v.GetUint64("halt-height"),
282283
HaltTime: v.GetUint64("halt-time"),

0 commit comments

Comments
 (0)