Skip to content

Commit f64e02c

Browse files
author
Dan Laine
committed
nits
1 parent 15684ec commit f64e02c

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

build/tutorials/nodes-and-staking/set-up-node-with-installer.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ avalanche/1.1.1 [network=mainnet, database=v1.0.0, commit=f76f1fd5f99736cf468413
227227
Done!
228228
```
229229

230-
## Downgrade to a previous version
230+
## Using a previous version
231231

232-
Bugs do occur, even with quality control involving strict testing. It may so happen that the newly released build is broken for a given architecture, or in a particular context. Check the official communication channels and team Discord for more information. If it turns out the problem really is with the newly released version, and the recommended solution is to return to the previous node version, installer script can help you in that situation too.
232+
The installer script can also be used to install a version of AvalancheGo other than the latest version.
233233

234-
To see a list of available node versions for installation, run:
234+
To see a list of available versions for installation, run:
235235

236236
```bash
237237
./avalanchego-installer.sh --list
@@ -254,19 +254,17 @@ v1.2.1
254254
v1.2.0
255255
```
256256

257-
Note the version you need to install to get the node to a known good configuration, and then run the installer with `--version` flag followed by the tag of the version you wish to install. For example:
257+
To install a specific version, run the script with `--version` followed by the tag of the version. For example:
258258

259259
```bash
260260
./avalanchego-installer.sh --version v1.3.1
261261
```
262262

263-
Command will start the upgrade process using the node version specified.
264-
265263
{% hint style="danger" %}
266-
Do not downgrade your node version without explicit advice from the team to do so! Running an outdated version may lead to incompatibilities that may hinder your node and network performance, and may result in your node being banned by other nodes, potentially risking your staking rewards!
264+
Note that not all AvalancheGo versions are compatible. You should generally run the latest version. Running a version other than latest may lead to your node not working properly and, for validators, not receiving a staking reward.
267265
{% endhint %}
268266

269-
Thanks to community member [Jean Zundel](https://github.com/jzu) for motivation and script for node downgrade.
267+
Thanks to community member [Jean Zundel](https://github.com/jzu) for the inspiration and help implementing support for installing non-latest node versions.
270268

271269
## What next?
272270

scripts/avalanchego-installer.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ echo " --help Shows this message"
5555
echo " --list Lists 10 newest versions available to install"
5656
echo " --version <tag> Installs <tag> version"
5757
echo ""
58-
echo "Ran without any options, script will install or upgrade AvalancheGo to latest available version."
59-
echo ""
58+
echo "Run without any options, script will install or upgrade AvalancheGo to latest available version."
6059
exit 0
6160
}
6261

@@ -104,7 +103,7 @@ if [ "$foundArch" = "aarch64" ]; then
104103
echo "Found arm64 architecture..."
105104
elif [ "$foundArch" = "x86_64" ]; then
106105
getArch="amd64" #we're running on intel/amd
107-
echo "Found 64bit Intel/AMD architecture..."
106+
echo "Found amd64 architecture..."
108107
else
109108
#sorry, don't know you.
110109
echo "Unsupported architecture: $foundArch!"

0 commit comments

Comments
 (0)