Skip to content

Commit

Permalink
refactor: nit naming changes (#1854)
Browse files Browse the repository at this point in the history
* small naming fix

* reverts name to ComputeNextValidators because the semantics of ComputeNextEpochConsumerValSet were different in v4.1
  • Loading branch information
insumity authored May 2, 2024
1 parent 28d6982 commit 5bb6b1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/provider/keeper/validator_set_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func TestSetConsumerValSet(t *testing.T) {
require.Equal(t, nextValidators, nextCurrentValidators)
}

func TestComputeNextEpochConsumerValSetConsiderAll(t *testing.T) {
func TestFilterValidatorsConsiderAll(t *testing.T) {
providerKeeper, ctx, ctrl, mocks := testkeeper.GetProviderKeeperAndCtx(t, testkeeper.NewInMemKeeperParams(t))
defer ctrl.Finish()

Expand Down Expand Up @@ -367,7 +367,7 @@ func TestComputeNextEpochConsumerValSetConsiderAll(t *testing.T) {
require.Equal(t, expectedValidators, actualValidators)
}

func TestComputeNextEpochConsumerValSetConsiderOnlyOptIn(t *testing.T) {
func TestFilterValidatorsConsiderOnlyOptIn(t *testing.T) {
providerKeeper, ctx, ctrl, mocks := testkeeper.GetProviderKeeperAndCtx(t, testkeeper.NewInMemKeeperParams(t))
defer ctrl.Finish()

Expand Down

0 comments on commit 5bb6b1c

Please sign in to comment.