diff --git a/modules/light-clients/07-tendermint/consensus_host_test.go b/modules/light-clients/07-tendermint/consensus_host_test.go index efcebea756a..860e63fffb5 100644 --- a/modules/light-clients/07-tendermint/consensus_host_test.go +++ b/modules/light-clients/07-tendermint/consensus_host_test.go @@ -40,7 +40,8 @@ func (suite *TendermintTestSuite) TestGetSelfConsensusState() { malleate: func() { height = clienttypes.NewHeight(1, uint64(suite.chainA.GetContext().BlockHeight())-1) - suite.chainA.GetSimApp().StakingKeeper.DeleteHistoricalInfo(suite.chainA.GetContext(), int64(height.GetRevisionHeight())) + err := suite.chainA.GetSimApp().StakingKeeper.DeleteHistoricalInfo(suite.chainA.GetContext(), int64(height.GetRevisionHeight())) + suite.Require().NoError(err) }, expError: stakingtypes.ErrNoHistoricalInfo, },