Skip to content

Commit 8db1860

Browse files
fix(taiko-client): report actual fork label in preconf block log (#21798)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6d16262 commit 8db1860

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/taiko-client/driver/chain_syncer/event/blocks_inserter

packages/taiko-client/driver/chain_syncer/event/blocks_inserter/inserter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func (i *Shasta) InsertPreconfBlocksFromEnvelopes(
303303
"⏰ New preconfirmation L2 block inserted",
304304
"blockID", header.Number,
305305
"hash", header.Hash(),
306-
"fork", "Shasta",
306+
"fork", rpc.ForkLabel(i.rpc.L2.ChainID, header.Time),
307307
"coinbase", header.Coinbase.Hex(),
308308
"timestamp", header.Time,
309309
"baseFee", utils.WeiToGWei(header.BaseFee),

0 commit comments

Comments
 (0)