From 281e22652321c26f127c9287aa463840d0bd71bc Mon Sep 17 00:00:00 2001 From: kirdatatjana Date: Thu, 5 Sep 2024 09:15:26 +0200 Subject: [PATCH] Added check in misbehaviour.go --- tests/integration/misbehaviour.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/misbehaviour.go b/tests/integration/misbehaviour.go index ac7ac00b41..96739679eb 100644 --- a/tests/integration/misbehaviour.go +++ b/tests/integration/misbehaviour.go @@ -581,6 +581,10 @@ func (s *CCVTestSuite) TestCheckMisbehaviour() { for _, tc := range testCases { s.Run(tc.name, func() { err := s.providerApp.GetProviderKeeper().CheckMisbehaviour(s.providerCtx(), *tc.misbehaviour) + cs, ok := s.providerApp.GetIBCKeeper().ClientKeeper.GetClientState(s.providerCtx(), s.path.EndpointA.ClientID) + s.Require().True(ok) + // verify that the client wasn't frozen + s.Require().Zero(cs.(*ibctmtypes.ClientState).FrozenHeight) if tc.expPass { s.NoError(err) } else {