Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix some function names in comment #2485

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/ccv/provider/keeper/throttle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func TestConsecutiveReplenishments(t *testing.T) {
require.Equal(t, now.Add(6*time.Hour).Add(5*time.Second), providerKeeper.GetSlashMeterReplenishTimeCandidate(ctx))
}

// TestSlashMeterAllowanceChanges tests the behavior of a full slash meter
// TestTotalVotingPowerChanges tests the behavior of a full slash meter
// when total voting power becomes higher and lower.
func TestTotalVotingPowerChanges(t *testing.T) {
providerKeeper, ctx, ctrl, mocks := testkeeper.GetProviderKeeperAndCtx(t, testkeeper.NewInMemKeeperParams(t))
Expand Down
2 changes: 1 addition & 1 deletion x/ccv/provider/migrations/v7/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
ccvtypes "github.com/cosmos/interchain-security/v6/x/ccv/types"
)

// MigrateParams migrates the provider module's parameters from the x/params to self store.
// MigrateLegacyParams migrates the provider module's parameters from the x/params to self store.
func MigrateLegacyParams(ctx sdk.Context, keeper providerkeeper.Keeper, legacyParamspace ccvtypes.LegacyParamSubspace) error {
ctx.Logger().Info("starting provider legacy params migration")
params := GetParamsLegacy(ctx, legacyParamspace)
Expand Down
2 changes: 1 addition & 1 deletion x/ccv/provider/types/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func PendingVSCsKey(consumerId string) []byte {
return append([]byte{mustGetKeyPrefix(PendingVSCsKeyName)}, []byte(consumerId)...)
}

// ConsumerValidatorsKey returns the key for storing the validator assigned keys for every consumer chain
// ConsumerValidatorsKeyPrefix returns the key for storing the validator assigned keys for every consumer chain
func ConsumerValidatorsKeyPrefix() byte {
return mustGetKeyPrefix(ConsumerValidatorsKeyName)
}
Expand Down
Loading