diff --git a/x/ccv/provider/migrations/migrator.go b/x/ccv/provider/migrations/migrator.go index ea6e9e00d5..2b20ee1f01 100644 --- a/x/ccv/provider/migrations/migrator.go +++ b/x/ccv/provider/migrations/migrator.go @@ -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 }