From 10eba3e8a520376b7e538010c4e86c1c286ec340 Mon Sep 17 00:00:00 2001 From: bnovil Date: Wed, 6 Dec 2023 10:40:15 +0800 Subject: [PATCH 1/3] optimze proposer log --- pkg/rpc/methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/methods.go b/pkg/rpc/methods.go index c2c83e693..904cb73e2 100644 --- a/pkg/rpc/methods.go +++ b/pkg/rpc/methods.go @@ -99,7 +99,7 @@ func (c *Client) WaitTillL2ExecutionEngineSynced(ctx context.Context) error { } if progress.isSyncing() { - log.Info("L2 execution engine is syncing", "progress", progress) + log.Info("L2 execution engine is syncing", "CurrentBlockID",progress.CurrentBlockID, "HighestBlockID", progress.HighestBlockID, "progress", progress.SyncProgress,) return errSyncing } From 51c184ff4098098b65941c39adc8494b698d8579 Mon Sep 17 00:00:00 2001 From: bnovil Date: Wed, 6 Dec 2023 11:21:49 +0800 Subject: [PATCH 2/3] fmt --- pkg/rpc/methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/methods.go b/pkg/rpc/methods.go index 904cb73e2..6d7499646 100644 --- a/pkg/rpc/methods.go +++ b/pkg/rpc/methods.go @@ -99,7 +99,7 @@ func (c *Client) WaitTillL2ExecutionEngineSynced(ctx context.Context) error { } if progress.isSyncing() { - log.Info("L2 execution engine is syncing", "CurrentBlockID",progress.CurrentBlockID, "HighestBlockID", progress.HighestBlockID, "progress", progress.SyncProgress,) + log.Info("L2 execution engine is syncing", "CurrentBlockID", progress.CurrentBlockID, "HighestBlockID", progress.HighestBlockID, "progress", progress.SyncProgress) return errSyncing } From 8865d9e4efa7435aecf293eaed40cde11fc10e72 Mon Sep 17 00:00:00 2001 From: bnovil Date: Wed, 6 Dec 2023 18:26:45 +0800 Subject: [PATCH 3/3] fix lint --- pkg/rpc/methods.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/rpc/methods.go b/pkg/rpc/methods.go index 6d7499646..129db8b50 100644 --- a/pkg/rpc/methods.go +++ b/pkg/rpc/methods.go @@ -99,7 +99,8 @@ func (c *Client) WaitTillL2ExecutionEngineSynced(ctx context.Context) error { } if progress.isSyncing() { - log.Info("L2 execution engine is syncing", "CurrentBlockID", progress.CurrentBlockID, "HighestBlockID", progress.HighestBlockID, "progress", progress.SyncProgress) + log.Info("L2 execution engine is syncing", "CurrentBlockID", progress.CurrentBlockID, + "HighestBlockID", progress.HighestBlockID, "progress", progress.SyncProgress) return errSyncing }