fix(gov): Fix default genesis to use v1beta2 (#11131)
Co-authored-by: Marko <marbar3778@yahoo.com>
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user