Skip to content

Commit

Permalink
update version (lavanet#1296)
Browse files Browse the repository at this point in the history
Co-authored-by: Yarom Swisa <[email protected] git config --global user.name Yarom>
  • Loading branch information
Yaroms and Yarom Swisa authored Mar 13, 2024
1 parent e7f4579 commit 1cf1158
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion x/protocol/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,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 v16: %w", types.ModuleName, err))
}
if err := cfg.RegisterMigration(types.ModuleName, 16, migrator.MigrateVersion); err != nil {
// panic:ok: at start up, migration cannot proceed anyhow
panic(fmt.Errorf("%s: failed to register migration to v17: %w", types.ModuleName, err))
}
}

// ConsensusVersion implements ConsensusVersion.
func (AppModule) ConsensusVersion() uint64 { return 16 }
func (AppModule) ConsensusVersion() uint64 { return 17 }

// RegisterInvariants registers the capability module's invariants.
func (am AppModule) RegisterInvariants(_ sdk.InvariantRegistry) {}
Expand Down
4 changes: 2 additions & 2 deletions x/protocol/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
var _ paramtypes.ParamSet = (*Params)(nil)

const (
TARGET_VERSION = "0.35.8"
MIN_VERSION = "0.34.3"
TARGET_VERSION = "1.0.0"
MIN_VERSION = "0.35.6"
)

var (
Expand Down

0 comments on commit 1cf1158

Please sign in to comment.