diff --git a/cmd/blockchaincmd/deploy.go b/cmd/blockchaincmd/deploy.go index a34647686..1c8081e55 100644 --- a/cmd/blockchaincmd/deploy.go +++ b/cmd/blockchaincmd/deploy.go @@ -601,8 +601,8 @@ func deployBlockchain(cmd *cobra.Command, args []string) error { avagoVersionSettings := node.AvalancheGoVersionSettings{} useEtnaDevnet := network.Kind == models.EtnaDevnet if avagoBinaryPath == "" { - useLatestAvalanchegoPreReleaseVersion := true - useLatestAvalanchegoReleaseVersion := false + useLatestAvalanchegoPreReleaseVersion := false + useLatestAvalanchegoReleaseVersion := true if userProvidedAvagoVersion != "latest" { useLatestAvalanchegoReleaseVersion = false useLatestAvalanchegoPreReleaseVersion = false diff --git a/cmd/nodecmd/local.go b/cmd/nodecmd/local.go index 1d83b8b85..8923be9c8 100644 --- a/cmd/nodecmd/local.go +++ b/cmd/nodecmd/local.go @@ -74,8 +74,8 @@ status by running avalanche node status local PersistentPostRun: handlePostRun, } networkoptions.AddNetworkFlagsToCmd(cmd, &globalNetworkFlags, false, createSupportedNetworkOptions) - cmd.Flags().BoolVar(&useLatestAvalanchegoReleaseVersion, "latest-avalanchego-version", false, "install latest avalanchego release version on node/s") - cmd.Flags().BoolVar(&useLatestAvalanchegoPreReleaseVersion, "latest-avalanchego-pre-release-version", true, "install latest avalanchego pre-release version on node/s") + cmd.Flags().BoolVar(&useLatestAvalanchegoReleaseVersion, "latest-avalanchego-version", true, "install latest avalanchego release version on node/s") + cmd.Flags().BoolVar(&useLatestAvalanchegoPreReleaseVersion, "latest-avalanchego-pre-release-version", false, "install latest avalanchego pre-release version on node/s") cmd.Flags().StringVar(&useCustomAvalanchegoVersion, "custom-avalanchego-version", "", "install given avalanchego version on node/s") cmd.Flags().StringVar(&avalanchegoBinaryPath, "avalanchego-path", "", "use this avalanchego binary path") cmd.Flags().StringArrayVar(&bootstrapIDs, "bootstrap-id", []string{}, "nodeIDs of bootstrap nodes")