Skip to content

Commit

Permalink
Improve comment in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jun 12, 2024
1 parent b390255 commit e0098fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/ccv/provider/migrations/v6/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import (
)

func MigrateMinPowerInTopN(ctx sdk.Context, providerKeeper providerkeeper.Keeper) {
// get all consumer chains
// we only get the registered consumer chains and not also the proposed consumer chains because
// the minimal power is usually set when the consumer chain addition proposal passes
registeredConsumerChains := providerKeeper.GetAllRegisteredConsumerChainIDs(ctx)

for _, chain := range registeredConsumerChains {
Expand Down

0 comments on commit e0098fb

Please sign in to comment.