From a4e3630e5cecbfb8450b2772ff7a78946790c364 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Fri, 26 Apr 2019 08:40:20 -0400 Subject: [PATCH 1/2] Set default invariant check period to 0 --- cmd/gaia/cmd/gaiad/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gaia/cmd/gaiad/main.go b/cmd/gaia/cmd/gaiad/main.go index 58e6cf576170..216b8df63c0b 100644 --- a/cmd/gaia/cmd/gaiad/main.go +++ b/cmd/gaia/cmd/gaiad/main.go @@ -57,7 +57,7 @@ func main() { // prepare and add flags executor := cli.PrepareBaseCmd(rootCmd, "GA", app.DefaultNodeHome) rootCmd.PersistentFlags().UintVar(&invCheckPeriod, flagInvCheckPeriod, - 1, "Assert registered invariants every N blocks") + 0, "Assert registered invariants every N blocks") err := executor.Execute() if err != nil { // handle with #870 From e830191727b1a5fa2bf11e63462594e6a52ae727 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Fri, 26 Apr 2019 08:41:46 -0400 Subject: [PATCH 2/2] Add change log entry --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 097d6b3c91c1..f815f19956b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.34.3 + +### Bug Fixes + +#### Gaia + +* [\#4196](https://github.com/cosmos/cosmos-sdk/pull/4196) Set default invariant +check period to zero. + ## 0.34.2 ### Improvements