Skip to content

Commit 66cb67b

Browse files
committed
docs: fix some function names in comment
Signed-off-by: lencap <[email protected]>
1 parent 3cd1a78 commit 66cb67b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

x/ccv/provider/keeper/throttle_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func TestConsecutiveReplenishments(t *testing.T) {
199199
require.Equal(t, now.Add(6*time.Hour).Add(5*time.Second), providerKeeper.GetSlashMeterReplenishTimeCandidate(ctx))
200200
}
201201

202-
// TestSlashMeterAllowanceChanges tests the behavior of a full slash meter
202+
// TestTotalVotingPowerChanges tests the behavior of a full slash meter
203203
// when total voting power becomes higher and lower.
204204
func TestTotalVotingPowerChanges(t *testing.T) {
205205
providerKeeper, ctx, ctrl, mocks := testkeeper.GetProviderKeeperAndCtx(t, testkeeper.NewInMemKeeperParams(t))

x/ccv/provider/migrations/v7/migrations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
ccvtypes "github.com/cosmos/interchain-security/v6/x/ccv/types"
88
)
99

10-
// MigrateParams migrates the provider module's parameters from the x/params to self store.
10+
// MigrateLegacyParams migrates the provider module's parameters from the x/params to self store.
1111
func MigrateLegacyParams(ctx sdk.Context, keeper providerkeeper.Keeper, legacyParamspace ccvtypes.LegacyParamSubspace) error {
1212
ctx.Logger().Info("starting provider legacy params migration")
1313
params := GetParamsLegacy(ctx, legacyParamspace)

x/ccv/provider/types/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ func PendingVSCsKey(consumerId string) []byte {
543543
return append([]byte{mustGetKeyPrefix(PendingVSCsKeyName)}, []byte(consumerId)...)
544544
}
545545

546-
// ConsumerValidatorsKey returns the key for storing the validator assigned keys for every consumer chain
546+
// ConsumerValidatorsKeyPrefix returns the key for storing the validator assigned keys for every consumer chain
547547
func ConsumerValidatorsKeyPrefix() byte {
548548
return mustGetKeyPrefix(ConsumerValidatorsKeyName)
549549
}

0 commit comments

Comments
 (0)