diff --git a/x/protocol/module.go b/x/protocol/module.go index da34e96c4f..74f4a3fbea 100644 --- a/x/protocol/module.go +++ b/x/protocol/module.go @@ -225,10 +225,14 @@ func (am AppModule) RegisterServices(cfg module.Configurator) { // panic:ok: at start up, migration cannot proceed anyhow panic(fmt.Errorf("%s: failed to register migration to v25: %w", types.ModuleName, err)) } + if err := cfg.RegisterMigration(types.ModuleName, 25, migrator.MigrateVersion); err != nil { + // panic:ok: at start up, migration cannot proceed anyhow + panic(fmt.Errorf("%s: failed to register migration to v26: %w", types.ModuleName, err)) + } } // ConsensusVersion implements ConsensusVersion. -func (AppModule) ConsensusVersion() uint64 { return 25 } +func (AppModule) ConsensusVersion() uint64 { return 26 } // RegisterInvariants registers the capability module's invariants. func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {} diff --git a/x/protocol/types/params.go b/x/protocol/types/params.go index 05590b33b6..8bc3d59de5 100644 --- a/x/protocol/types/params.go +++ b/x/protocol/types/params.go @@ -12,7 +12,7 @@ import ( var _ paramtypes.ParamSet = (*Params)(nil) const ( - TARGET_VERSION = "5.1.1" + TARGET_VERSION = "5.2.0" MIN_VERSION = "4.2.1" )