Skip to content

Commit

Permalink
Fix migration function name
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed May 2, 2024
1 parent c8688ff commit fe8dc1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/provider/migrations/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ func (m Migrator) Migrate3to4(ctx sdktypes.Context) error {
return nil
}

// MigrateXtoY migrates x/ccvprovider state from consensus version X to Y.
// Migrate4to5 migrates x/ccvprovider state from consensus version 4 to 5.
// The migration consists of setting a top N of 95 for all registered consumer chains.
func (m Migrator) MigrateXtoY(ctx sdktypes.Context) error {
func (m Migrator) Migrate4to5(ctx sdktypes.Context) error {
v5.MigrateTopNForRegisteredChains(ctx, m.providerKeeper)
return nil
}

0 comments on commit fe8dc1a

Please sign in to comment.