From dc6d73a408d798f74a37da6eb094112557b563d6 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 23 Sep 2022 13:22:07 -0400 Subject: [PATCH] config: Add missing storage section when generating config (backport #9483) (#9488) * config: Add missing storage section when generating config (#9483) (cherry picked from commit b7f1e1f218ffea7a164608037bc8e0bc8f57b37c) * Add pending changelog entry Signed-off-by: Thane Thomson Signed-off-by: Thane Thomson Co-authored-by: Thane Thomson --- CHANGELOG_PENDING.md | 4 ++++ config/toml.go | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 1038e12a9ac..1c5f3d9cf2f 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -22,3 +22,7 @@ ### BUG FIXES +- [config] \#9483 Calling `tendermint init` would incorrectly leave out the new + `[storage]` section delimiter in the generated configuration file - this has + now been fixed + diff --git a/config/toml.go b/config/toml.go index 82eafcb011b..30dcd598e2f 100644 --- a/config/toml.go +++ b/config/toml.go @@ -483,6 +483,7 @@ peer_query_maj23_sleep_duration = "{{ .Consensus.PeerQueryMaj23SleepDuration }}" ####################################################### ### Storage Configuration Options ### ####################################################### +[storage] # Set to true to discard ABCI responses from the state store, which can save a # considerable amount of disk space. Set to false to ensure ABCI responses are