Skip to content

Commit

Permalink
Partially address feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed Aug 30, 2023
1 parent 2622cdf commit 2f82cd0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions modules/core/02-client/keeper/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ func (suite *KeeperTestSuite) TestRecoverClient() {
clienttypes.ErrClientNotFound,
},
{
"subject height is equal than substitute height",
"subject and substitute have equal latest height",
func() {
tmClientState, ok := subjectClientState.(*ibctm.ClientState)
suite.Require().True(ok)
Expand Down Expand Up @@ -647,10 +647,6 @@ func (suite *KeeperTestSuite) TestRecoverClient() {

tc.malleate()

clientStore := suite.chainA.App.GetIBCKeeper().ClientKeeper.ClientStore(suite.chainA.GetContext(), subjectPath.EndpointA.ClientID)
tmClientState = subjectPath.EndpointA.GetClientState().(*ibctm.ClientState)
fmt.Printf("Client status: %s", tmClientState.Status(suite.chainA.GetContext(), clientStore, suite.chainA.App.AppCodec()))

err = suite.chainA.App.GetIBCKeeper().ClientKeeper.RecoverClient(suite.chainA.GetContext(), subject, substitute)

expPass := tc.expErr == nil
Expand Down

0 comments on commit 2f82cd0

Please sign in to comment.