Skip to content

Commit

Permalink
Another test fix that didn't get committed
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon committed Feb 24, 2024
1 parent 0ad5862 commit f1825e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/integration/slashing/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ func (s *KeeperTestSuite) TestHandleNewValidator() {
info, found := s.slashingKeeper.GetValidatorSigningInfo(ctx, sdk.ConsAddress(val.Address()))
s.Require().True(found)
s.Require().Equal(s.slashingKeeper.SignedBlocksWindow(ctx)+1, info.StartHeight)
s.Require().Equal(int64(2), info.IndexOffset)
s.Require().Equal(int64(1), info.MissedBlocksCounter)
s.Require().Equal(time.Unix(0, 0).UTC(), info.JailedUntil)

Expand Down Expand Up @@ -308,7 +307,6 @@ func (s *KeeperTestSuite) TestValidatorDippingInAndOut() {
s.Require().True(found)
s.Require().Equal(int64(700), signInfo.StartHeight)
s.Require().Equal(int64(0), signInfo.MissedBlocksCounter)
s.Require().Equal(int64(0), signInfo.IndexOffset)

// some blocks pass
height = int64(5000)
Expand Down

0 comments on commit f1825e5

Please sign in to comment.