Skip to content

Commit

Permalink
comment out test that checks client type of client state and consensu…
Browse files Browse the repository at this point in the history
…s state should match
  • Loading branch information
crodriguezvega committed Mar 26, 2024
1 parent 1e2702d commit 62a5dc7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions modules/core/02-client/types/msgs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,16 @@ func (suite *TypesTestSuite) TestMsgCreateClient_ValidateBasic() {
},
false,
},
{
"invalid - client state and consensus state client types do not match",
func() {
tendermintClient := ibctm.NewClientState(suite.chainA.ChainID, ibctesting.DefaultTrustLevel, ibctesting.TrustingPeriod, ibctesting.UnbondingPeriod, ibctesting.MaxClockDrift, clientHeight, commitmenttypes.GetSDKSpecs(), ibctesting.UpgradePath)
soloMachine := ibctesting.NewSolomachine(suite.T(), suite.chainA.Codec, "solomachine", "", 2)
msg, err = types.NewMsgCreateClient(tendermintClient, soloMachine.ConsensusState(), suite.chainA.SenderAccount.GetAddress().String())
suite.Require().NoError(err)
},
false,
},
// {
// "invalid - client state and consensus state client types do not match",
// func() {
// tendermintClient := ibctm.NewClientState(suite.chainA.ChainID, ibctesting.DefaultTrustLevel, ibctesting.TrustingPeriod, ibctesting.UnbondingPeriod, ibctesting.MaxClockDrift, clientHeight, commitmenttypes.GetSDKSpecs(), ibctesting.UpgradePath)
// soloMachine := ibctesting.NewSolomachine(suite.T(), suite.chainA.Codec, "solomachine", "", 2)
// msg, err = types.NewMsgCreateClient(tendermintClient, soloMachine.ConsensusState(), suite.chainA.SenderAccount.GetAddress().String())
// suite.Require().NoError(err)
// },
// false,
// },
}

for _, tc := range cases {
Expand Down

0 comments on commit 62a5dc7

Please sign in to comment.