Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: tongjicoder <[email protected]>
  • Loading branch information
tongjicoder committed Jul 23, 2024
1 parent c532146 commit e5102ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/advanced_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Exported metrics:
| cosmos_relayer_chain_latest_height | The current height of the chain | Gauge |
| cosmos_relayer_wallet_balance | The current balance for the relayer's wallet | Gauge |
| cosmos_relayer_fees_spent | The amount of fees spent from the relayer's wallet | Gauge |
| cosmos_relayer_tx_failure | <br>The total number of tx failures broken up into categories:<br> - "packet messages are redundant"<br> - "insufficient funds"<br> - "invalid coins"<br> - "out of gas"<br><br><br>"Tx Failure" is the the catch all bucket | Counter |
| cosmos_relayer_tx_failure | <br>The total number of tx failures broken up into categories:<br> - "packet messages are redundant"<br> - "insufficient funds"<br> - "invalid coins"<br> - "out of gas"<br><br><br>"Tx Failure" is the catch all bucket | Counter |
| cosmos_relayer_block_query_errors_total | The total number of block query failures. The failures are separated into two categories:<br> - "RPC Client"<br> - "IBC Header" | Counter |
| cosmos_relayer_client_expiration_seconds | Seconds until the client expires | Gauge |
| cosmos_relayer_client_trusting_period_seconds | The trusting period (in seconds) of the client | Gauge |
Expand Down
2 changes: 1 addition & 1 deletion relayer/chains/cosmos/cosmos_chain_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ func (ccp *CosmosChainProcessor) queryCycle(ctx context.Context, persistence *qu
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")
ccp.log.Error("Failed to query node height after max attempts. Consider checking endpoint and retrying for stuck packets")
return err
}
}
Expand Down

0 comments on commit e5102ad

Please sign in to comment.