From 7a1f59a74155be7d10ff5313240f67ab98b2dfb9 Mon Sep 17 00:00:00 2001 From: Artur Reznikov Date: Fri, 18 Oct 2024 10:24:37 -0700 Subject: [PATCH 1/2] fix --- cmd/nodecmd/local.go | 3 +-- pkg/node/local.go | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/nodecmd/local.go b/cmd/nodecmd/local.go index 1801b7fdd..68c2ba6d0 100644 --- a/cmd/nodecmd/local.go +++ b/cmd/nodecmd/local.go @@ -18,7 +18,6 @@ var ( bootstrapIPs []string genesisPath string upgradePath string - useEtnaDevnet bool stakingTLSKeyPath string stakingCertKeyPath string stakingSignerKeyPath string @@ -143,7 +142,7 @@ func localStartNode(_ *cobra.Command, args []string) error { return node.StartLocalNode( app, clusterName, - useEtnaDevnet, + globalNetworkFlags.UseEtnaDevnet, avalanchegoBinaryPath, numNodes, anrSettings, diff --git a/pkg/node/local.go b/pkg/node/local.go index a646d28b2..da73e219b 100644 --- a/pkg/node/local.go +++ b/pkg/node/local.go @@ -312,6 +312,7 @@ func StartLocalNode( anrOpts = append(anrOpts, client.WithBootstrapNodeIPPortPairs(anrSettings.BootstrapIPs)) } + ux.Logger.PrintToUser("Starting local avalanche node using settings: %s ...", anrSettings) ux.Logger.PrintToUser("Starting local avalanchego node using root: %s ...", rootDir) spinSession := ux.NewUserSpinner() spinner := spinSession.SpinToUser("Booting Network. Wait until healthy...") From 71c34b2f13a8af3ea2b9dd5ae2ac28a7bf0725af Mon Sep 17 00:00:00 2001 From: Artur Reznikov Date: Fri, 18 Oct 2024 10:26:52 -0700 Subject: [PATCH 2/2] push --- pkg/node/local.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/node/local.go b/pkg/node/local.go index da73e219b..a646d28b2 100644 --- a/pkg/node/local.go +++ b/pkg/node/local.go @@ -312,7 +312,6 @@ func StartLocalNode( anrOpts = append(anrOpts, client.WithBootstrapNodeIPPortPairs(anrSettings.BootstrapIPs)) } - ux.Logger.PrintToUser("Starting local avalanche node using settings: %s ...", anrSettings) ux.Logger.PrintToUser("Starting local avalanchego node using root: %s ...", rootDir) spinSession := ux.NewUserSpinner() spinner := spinSession.SpinToUser("Booting Network. Wait until healthy...")