From d61f474264d1800cac14ca3aed527cc4e377619d Mon Sep 17 00:00:00 2001 From: Simon Noetzlin Date: Tue, 21 Nov 2023 08:51:39 +0100 Subject: [PATCH] Update tests/integration/double_vote.go Co-authored-by: Philip Offtermatt <57488781+p-offtermatt@users.noreply.github.com> --- tests/integration/double_vote.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/double_vote.go b/tests/integration/double_vote.go index 3fae17adf5..2af7162d77 100644 --- a/tests/integration/double_vote.go +++ b/tests/integration/double_vote.go @@ -343,7 +343,7 @@ func (s *CCVTestSuite) TestHandleConsumerDoubleVotingSlashesUndelegationsAndRele currentBalance := sdk.NewDecFromInt(unb.Balance) s.Require().True(initialBalance.Sub(initialBalance.Mul(slashFraction)).Equal(currentBalance)) } - +// check that redelegations are slashed delegations := s.providerApp.GetTestStakingKeeper().Delegation(s.providerCtx(), delAddr, validator2.GetOperator()) s.Require().Equal(delegations.GetShares(), delShares.Add(redelShares).Sub(redelShares.Mul(slashFraction))) })