Skip to content

Commit

Permalink
feat(taiko-client): add more preconf logs (#18524)
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp authored Nov 27, 2024
1 parent 6c560ba commit 6d2c4a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/taiko-client/driver/chain_syncer/blob/soft_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func (s *Syncer) InsertSoftBlockFromTransactionsBatch(
log.Info(
"Soft block payloadAttributes",
"blockID", blockID,
"batchID", batchID,
"timestamp", attributes.Timestamp,
"random", attributes.Random,
"suggestedFeeRecipient", attributes.SuggestedFeeRecipient,
Expand Down Expand Up @@ -201,6 +202,7 @@ func (s *Syncer) InsertSoftBlockFromTransactionsBatch(
log.Info(
"Soft block payload",
"blockID", blockID,
"batchID", batchID,
"baseFee", utils.WeiToGWei(payload.BaseFeePerGas),
"number", payload.Number,
"hash", payload.BlockHash,
Expand Down Expand Up @@ -251,6 +253,7 @@ func (s *Syncer) InsertSoftBlockFromTransactionsBatch(
log.Info(
"⏰ New soft L2 block inserted",
"blockID", blockID,
"batchID", batchID,
"hash", header.Hash(),
"transactions", len(payload.Transactions),
"baseFee", utils.WeiToGWei(header.BaseFee),
Expand Down

0 comments on commit 6d2c4a0

Please sign in to comment.