Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/go_modules/github.com/cosmos/ibc-…
Browse files Browse the repository at this point in the history
…go/v8-8.2.0
  • Loading branch information
jtieri authored Apr 9, 2024
2 parents 963b60c + b7ea45d commit 2074df3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions relayer/chains/cosmos/cosmos_chain_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,11 @@ func (ccp *CosmosChainProcessor) queryCycle(ctx context.Context, persistence *qu
newLatestQueriedBlock == int64(stuckPacket.EndHeight) {
i = persistence.latestHeight
ccp.log.Debug("Parsed stuck packet height, skipping to current")
newLatestQueriedBlock, err = ccp.latestHeightWithRetry(ctx)
if err != nil {
ccp.log.Error("Failed to query node height after max attempts. Consider checking endpoint and retyring for stuck packets")
return err
}
}
}

Expand Down

0 comments on commit 2074df3

Please sign in to comment.