Skip to content

Commit

Permalink
Merge pull request #1959 from lavanet/increase-protocol-version
Browse files Browse the repository at this point in the history
feat: increase protocol version to v5.2.0
  • Loading branch information
Yaroms authored Feb 12, 2025
2 parents c813dc6 + c8db926 commit e1bd8b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion x/protocol/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down
2 changes: 1 addition & 1 deletion x/protocol/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down

0 comments on commit e1bd8b3

Please sign in to comment.