Skip to content

Commit

Permalink
Log message improvements (Layr-Labs#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix authored Nov 24, 2023
1 parent 7530b19 commit c146f1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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 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
Expand Down

0 comments on commit c146f1c

Please sign in to comment.