Skip to content

Commit

Permalink
chore: make log quieter in cosmos query cycle (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt authored Nov 14, 2024
1 parent 5a824cd commit 82effff
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions relayer/chains/cosmos/cosmos_chain_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,10 @@ func (ccp *CosmosChainProcessor) queryCycle(
firstHeightToQuery++
}

ccp.log.Info("Starting query cycle", zap.Any("chain", chainID), zap.Any("first height", firstHeightToQuery))

for heightToQuery := firstHeightToQuery; heightToQuery <= persistence.latestHeight; heightToQuery++ {
if heightToQuery == firstHeightToQuery {
ccp.log.Debug("Starting query cycle", zap.Any("chain", chainID), zap.Any("first height", firstHeightToQuery))
}
var (
eg errgroup.Group
blockRes *coretypes.ResultBlockResults
Expand Down

0 comments on commit 82effff

Please sign in to comment.