Skip to content

Commit

Permalink
include retry count in log message for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel committed Sep 25, 2023
1 parent ef572be commit 85a23cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/host/l1/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func (p *Publisher) publishTransaction(tx types.TxData) error {
return errors.Wrap(err, "could not sign L1 tx")
}

p.logger.Info("Host issuing l1 tx", log.TxKey, signedTx.Hash(), "size", signedTx.Size()/1024)
p.logger.Info("Host issuing l1 tx", log.TxKey, signedTx.Hash(), "size", signedTx.Size()/1024, "retries", retries)
err = p.ethClient.SendTransaction(signedTx)
if err != nil {
p.hostWallet.SetNonce(nonce) // revert the wallet nonce because we failed to complete the transaction
Expand Down

0 comments on commit 85a23cc

Please sign in to comment.