Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/google.golang.org/prot…
Browse files Browse the repository at this point in the history
…obuf-1.36.1
  • Loading branch information
gjermundgaraba authored Dec 23, 2024
2 parents e15d7b0 + e4da876 commit c447150
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion modules/light-clients/07-tendermint/client_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (cs ClientState) Validate() error {
"latest height revision number must match chain id revision number (%d != %d)", cs.LatestHeight.RevisionNumber, clienttypes.ParseChainID(cs.ChainId))
}
if cs.LatestHeight.RevisionHeight == 0 {
return errorsmod.Wrapf(ErrInvalidHeaderHeight, "tendermint client's latest height revision height cannot be zero")
return errorsmod.Wrap(ErrInvalidHeaderHeight, "tendermint client's latest height revision height cannot be zero")
}
if cs.TrustingPeriod >= cs.UnbondingPeriod {
return errorsmod.Wrapf(
Expand Down
1 change: 0 additions & 1 deletion modules/light-clients/07-tendermint/client_state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func (suite *TendermintTestSuite) TestValidate() {
name string
clientState *ibctm.ClientState
expErr error
expPass bool
}{
{
name: "valid client",
Expand Down

0 comments on commit c447150

Please sign in to comment.