From a88b0cf02fa48c49211c10df99e27a4f45155bbf Mon Sep 17 00:00:00 2001 From: jay tseng Date: Fri, 4 Mar 2022 15:07:31 -0500 Subject: [PATCH] update default App Version in genesis --- config/toml.go | 4 +++- types/params.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/toml.go b/config/toml.go index 0508f9e74..44c1cfbff 100644 --- a/config/toml.go +++ b/config/toml.go @@ -612,7 +612,9 @@ var testGenesisFmt = `{ "ed25519" ] }, - "version": {} + "version": { + "app_version": "1" + } }, "validators": [ { diff --git a/types/params.go b/types/params.go index fc9c4aaad..1d728b55f 100644 --- a/types/params.go +++ b/types/params.go @@ -123,7 +123,7 @@ func DefaultValidatorParams() ValidatorParams { func DefaultVersionParams() VersionParams { return VersionParams{ - AppVersion: 0, + AppVersion: 1, } }