Skip to content

Commit

Permalink
Rename updatedMinPower->newUpdatedMinPower
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jun 12, 2024
1 parent b5c1882 commit bd74a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/provider/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -851,9 +851,9 @@ func TestMinimumPowerInTopN(t *testing.T) {
k.SetMinimumPowerInTopN(ctx, chainID, newMinPower)

// Retrieve the updated minimum power in top N
updatedMinPower, found := k.GetMinimumPowerInTopN(ctx, chainID)
newActualMinPower, found := k.GetMinimumPowerInTopN(ctx, chainID)
require.True(t, found)
require.Equal(t, newMinPower, updatedMinPower)
require.Equal(t, newMinPower, newActualMinPower)

// Test when the chain ID does not exist
nonExistentChainID := "nonExistentChain"
Expand Down

0 comments on commit bd74a4a

Please sign in to comment.