Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

Commit

Permalink
broadcast sdk tx logging
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed Jan 30, 2024
1 parent 7965850 commit 6a8aa92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cosmos/runtime/txpool/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ func (h *handler) broadcastTransaction(tx *ethtypes.Transaction, retries int) {
return
}

h.logger.Info("broadcasting to comet", "ethTx", tx.Hash(), "sdkTx", txBytes)

// Send the transaction to the CometBFT mempool, which will gossip it to peers via
// CometBFT's p2p layer.
rsp, err := h.clientCtx.BroadcastTxSync(txBytes)
Expand Down

0 comments on commit 6a8aa92

Please sign in to comment.