Skip to content

Commit

Permalink
Update allocation_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic authored Feb 15, 2024
1 parent e263fe0 commit 7aa7b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/distribution/keeper/allocation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func TestAllocateTokensToManyValidators(t *testing.T) {
require.Equal(t, firstValidator0CurrentRewards, distrKeeper.GetValidatorCurrentRewards(ctx, valAddrs[0]).Rewards)
require.Equal(t, firstValidator1CurrentRewards, distrKeeper.GetValidatorCurrentRewards(ctx, valAddrs[1]).Rewards)

// block height is not a multiple, should trigger allocation
// block height is a multiple, should trigger allocation
ctx = ctx.WithBlockHeight(dist.BlockMultipleToDistributeRewards)

feesCollectedInt := bankKeeper.GetAllBalances(ctx, feeCollector.GetAddress())
Expand Down

0 comments on commit 7aa7b47

Please sign in to comment.