Skip to content

Commit

Permalink
add comments to TestMultiConsumerSlashPacketThrottling
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoke committed Nov 22, 2023
1 parent aed00e2 commit f3ff8f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/throttle.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ func (s *CCVTestSuite) TestMultiConsumerSlashPacketThrottling() {
s.confirmValidatorJailed(valsToSlash[0], true)

// Packets were bounced for the second and third consumers.
s.confirmValidatorNotJailed(valsToSlash[1], 1000)
s.confirmValidatorNotJailed(valsToSlash[1], 1000) // each validator has 1000 power from the setup
s.confirmValidatorNotJailed(valsToSlash[2], 1000)

// Total power is now 3000
// Total power is now 3000 (as one validator was jailed)
s.Require().Equal(int64(3000),
providerStakingKeeper.GetLastTotalPower(s.providerCtx()).Int64())

Expand Down

0 comments on commit f3ff8f2

Please sign in to comment.