diff --git a/packages/taiko-client/driver/chain_syncer/blob/syncer.go b/packages/taiko-client/driver/chain_syncer/blob/syncer.go index 00c3dd4a1b4..ec9e07375dd 100644 --- a/packages/taiko-client/driver/chain_syncer/blob/syncer.go +++ b/packages/taiko-client/driver/chain_syncer/blob/syncer.go @@ -237,7 +237,7 @@ func (s *Syncer) onBlockProposed( log.Debug( "Parent block", - "height", parent.Number, + "blockID", parent.Number, "hash", parent.Hash(), "beaconSyncTriggered", s.progressTracker.Triggered(), ) @@ -286,7 +286,6 @@ func (s *Syncer) onBlockProposed( log.Info( "🔗 New L2 block inserted", "blockID", meta.GetBlockID(), - "height", payloadData.Number, "hash", payloadData.BlockHash, "transactions", len(payloadData.Transactions), "baseFee", utils.WeiToGWei(payloadData.BaseFeePerGas), diff --git a/packages/taiko-client/driver/state/state.go b/packages/taiko-client/driver/state/state.go index 0efcc2ad910..bae8c311cf7 100644 --- a/packages/taiko-client/driver/state/state.go +++ b/packages/taiko-client/driver/state/state.go @@ -71,7 +71,7 @@ func (s *State) init(ctx context.Context) error { s.OnTakeForkHeight = new(big.Int).SetUint64(protocolConfigs.OntakeForkHeight) log.Info("Genesis L1 height", "height", stateVars.A.GenesisHeight) - log.Info("OnTake fork height", "height", s.OnTakeForkHeight) + log.Info("OnTake fork height", "blockID", s.OnTakeForkHeight) // Set the L2 head's latest known L1 origin as current L1 sync cursor. latestL2KnownL1Header, err := s.rpc.LatestL2KnownL1Header(ctx) @@ -93,7 +93,7 @@ func (s *State) init(ctx context.Context) error { return err } - log.Info("L2 execution engine head", "height", l2Head.Number, "hash", l2Head.Hash()) + log.Info("L2 execution engine head", "blockID", l2Head.Number, "hash", l2Head.Hash()) s.setL2Head(l2Head) s.setHeadBlockID(new(big.Int).SetUint64(stateVars.B.NumBlocks - 1)) @@ -214,7 +214,7 @@ func (s *State) setL2Head(l2Head *types.Header) { return } - log.Trace("New L2 head", "height", l2Head.Number, "hash", l2Head.Hash(), "timestamp", l2Head.Time) + log.Trace("New L2 head", "blockID", l2Head.Number, "hash", l2Head.Hash(), "timestamp", l2Head.Time) metrics.DriverL2HeadHeightGauge.Set(float64(l2Head.Number.Uint64())) s.l2Head.Store(l2Head) diff --git a/packages/taiko-client/prover/proof_producer/guardian_producer.go b/packages/taiko-client/prover/proof_producer/guardian_producer.go index 39439deb1a2..a459eb12f28 100644 --- a/packages/taiko-client/prover/proof_producer/guardian_producer.go +++ b/packages/taiko-client/prover/proof_producer/guardian_producer.go @@ -43,7 +43,6 @@ func (g *GuardianProofProducer) RequestProof( "Request guardian proof", "blockID", blockID, "coinbase", meta.GetCoinbase(), - "height", header.Number, "hash", header.Hash(), ) diff --git a/packages/taiko-client/prover/proof_producer/optimistic_producer.go b/packages/taiko-client/prover/proof_producer/optimistic_producer.go index 8596d518a7d..10d0eb2f2da 100644 --- a/packages/taiko-client/prover/proof_producer/optimistic_producer.go +++ b/packages/taiko-client/prover/proof_producer/optimistic_producer.go @@ -28,7 +28,6 @@ func (o *OptimisticProofProducer) RequestProof( "Request optimistic proof", "blockID", blockID, "coinbase", meta.GetCoinbase(), - "height", header.Number, "hash", header.Hash(), ) diff --git a/packages/taiko-client/prover/proof_producer/sgx_producer.go b/packages/taiko-client/prover/proof_producer/sgx_producer.go index 60838139398..10d58cfb1c8 100644 --- a/packages/taiko-client/prover/proof_producer/sgx_producer.go +++ b/packages/taiko-client/prover/proof_producer/sgx_producer.go @@ -104,7 +104,6 @@ func (s *SGXProofProducer) RequestProof( "Request sgx proof from raiko-host service", "blockID", blockID, "coinbase", meta.GetCoinbase(), - "height", header.Number, "hash", header.Hash(), "time", time.Since(requestAt), ) @@ -358,14 +357,14 @@ func (s *SGXProofProducer) callProverDaemon( output, err := s.requestProof(ctx, opts) if err != nil { - log.Error("Failed to request proof", "height", opts.BlockID, "error", err, "endpoint", s.RaikoHostEndpoint) + log.Error("Failed to request proof", "blockID", opts.BlockID, "error", err, "endpoint", s.RaikoHostEndpoint) return nil, err } if output == nil { log.Info( "Proof generating", - "height", opts.BlockID, + "blockID", opts.BlockID, "time", time.Since(requestAt), "producer", "SGXProofProducer", ) @@ -392,7 +391,7 @@ func (s *SGXProofProducer) callProverDaemon( log.Info( "Proof generated", - "height", opts.BlockID, + "blockID", opts.BlockID, "time", time.Since(requestAt), "producer", "SGXProofProducer", ) diff --git a/packages/taiko-client/prover/proof_producer/zkvm_producer.go b/packages/taiko-client/prover/proof_producer/zkvm_producer.go index 929afd0a154..76f06d8e2d7 100644 --- a/packages/taiko-client/prover/proof_producer/zkvm_producer.go +++ b/packages/taiko-client/prover/proof_producer/zkvm_producer.go @@ -76,7 +76,6 @@ func (s *ZKvmProofProducer) RequestProof( "Request zk proof from raiko-host service", "blockID", blockID, "coinbase", meta.GetCoinbase(), - "height", header.Number, "hash", header.Hash(), "zkType", s.ZKProofType, "time", time.Since(requestAt), @@ -178,7 +177,7 @@ func (s *ZKvmProofProducer) callProverDaemon( output, err := s.requestProof(zkCtx, opts) if err != nil { - log.Error("Failed to request proof", "height", opts.BlockID, "error", err, "endpoint", s.RaikoHostEndpoint) + log.Error("Failed to request proof", "blockID", opts.BlockID, "error", err, "endpoint", s.RaikoHostEndpoint) return nil, err } @@ -197,7 +196,7 @@ func (s *ZKvmProofProducer) callProverDaemon( } log.Info( "Proof generated", - "height", opts.BlockID, + "blockID", opts.BlockID, "time", time.Since(requestAt), "producer", "ZKvmProofProducer", )