From a0a1197c2786647139bab92fcc6f9f3ee0d867d5 Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaurym@users.noreply.github.com> Date: Mon, 7 Feb 2022 16:46:49 +0100 Subject: [PATCH] fix(gov): Fix default genesis to use v1beta2 (#11131) Co-authored-by: Marko --- x/gov/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gov/module.go b/x/gov/module.go index 4b8fc83772..3eee0679e1 100644 --- a/x/gov/module.go +++ b/x/gov/module.go @@ -61,7 +61,7 @@ func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { // DefaultGenesis returns default genesis state as raw bytes for the gov // module. func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage { - return cdc.MustMarshalJSON(v1beta1.DefaultGenesisState()) + return cdc.MustMarshalJSON(v1beta2.DefaultGenesisState()) } // ValidateGenesis performs genesis state validation for the gov module.