Skip to content

Commit

Permalink
fix(gov): Fix default genesis to use v1beta2 (#11131)
Browse files Browse the repository at this point in the history
Co-authored-by: Marko <marbar3778@yahoo.com>
  • Loading branch information
amaury1093 and tac0turtle authored Feb 7, 2022
1 parent 2129506 commit a0a1197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a0a1197

Please sign in to comment.