From 1c38b987a5cb4783ed0fb512e9245f8af4b8f91e Mon Sep 17 00:00:00 2001 From: Jian Xiao Date: Tue, 21 Nov 2023 21:49:18 +0000 Subject: [PATCH 1/3] Log message improvements --- node/node.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index bebf6c908b..788e73fa19 100644 --- a/node/node.go +++ b/node/node.go @@ -164,7 +164,7 @@ func (n *Node) Start(ctx context.Context) error { // Build the socket based on the hostname/IP provided in the CLI socket := string(core.MakeOperatorSocket(n.Config.Hostname, n.Config.DispersalPort, n.Config.RetrievalPort)) if n.Config.RegisterNodeAtStart { - n.Logger.Debug("Registering node on chain with the following parameters:", "operatorId", + n.Logger.Info("Registering node on chain with the following parameters:", "operatorId", n.Config.ID, "hostname", n.Config.Hostname, "dispersalPort", n.Config.DispersalPort, "retrievalPort", n.Config.RetrievalPort, "churnerUrl", n.Config.ChurnerUrl, "quorumIds", n.Config.QuorumIDList) socket := string(core.MakeOperatorSocket(n.Config.Hostname, n.Config.DispersalPort, n.Config.RetrievalPort)) @@ -179,6 +179,8 @@ func (n *Node) Start(ctx context.Context) error { if err != nil { return fmt.Errorf("failed to register the operator: %w", err) } + } else { + n.Logger.Info("The node is started, but it's not opt-in in EigenDA yet (it's not receiving and validating data in EigenDA). To register, please follow the guide in https://docs.eigenlayer.xyz/operator-guides/avs-installation-and-registration/eigenda-operator-guide/eigenda-avs-installation-and-registration") } n.CurrentSocket = socket From 0f0a5bd37010b40c29998ce820d7d115e0ef4440 Mon Sep 17 00:00:00 2001 From: Jian Xiao Date: Wed, 22 Nov 2023 18:09:34 +0000 Subject: [PATCH 2/3] Feedback --- node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index 788e73fa19..158d385cb5 100644 --- a/node/node.go +++ b/node/node.go @@ -180,7 +180,7 @@ func (n *Node) Start(ctx context.Context) error { return fmt.Errorf("failed to register the operator: %w", err) } } else { - n.Logger.Info("The node is started, but it's not opt-in in EigenDA yet (it's not receiving and validating data in EigenDA). To register, please follow the guide in https://docs.eigenlayer.xyz/operator-guides/avs-installation-and-registration/eigenda-operator-guide/eigenda-avs-installation-and-registration") + n.Logger.Info("The node has successfully started. Note it's not opt-in to EigenDA yet (it's not receiving and validating data in EigenDA). To register, please follow the guide in https://github.com/Layr-Labs/eigenda-operator-setup") } n.CurrentSocket = socket From bd68fe9588380c156485408b0fc0dd67af586eca Mon Sep 17 00:00:00 2001 From: Jian Xiao Date: Wed, 22 Nov 2023 20:38:30 +0000 Subject: [PATCH 3/3] fix --- node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index 158d385cb5..a43037bb70 100644 --- a/node/node.go +++ b/node/node.go @@ -180,7 +180,7 @@ func (n *Node) Start(ctx context.Context) error { return fmt.Errorf("failed to register the operator: %w", err) } } else { - n.Logger.Info("The node has successfully started. Note it's not opt-in to EigenDA yet (it's not receiving and validating data in EigenDA). To register, please follow the guide in https://github.com/Layr-Labs/eigenda-operator-setup") + n.Logger.Info("The node has successfully started. Note it's not opt-in to EigenDA yet (it's not receiving or validating data in EigenDA). To register, please follow the EigenDA operator guide section in docs.eigenlayer.xyz") } n.CurrentSocket = socket