The "Galileo" upgrade guide (v0.8.* to v1.0.*)
Last updated
Was this helpful?
Last updated
Was this helpful?
At the point of the proposed upgrade, user will see the error message on the cronosd
similar to the below:
Don't panic - The Chain will be paused to allow the majority of validators to upgrade. Validators and full node hosts will have to upgrade your Cronos nodes to the latest release binary.
Before the upgrade, node hosts are encouraged to take a complete data backup. backup depends heavily on infrastructure, but generally, we can do this by backing up the .cronos
directory.
It is critically important for validator operators to back-up the .cronos/data/priv_validator_state.json
file after stopping the cronosd
process. This file is updated every block as your validator participates in consensus rounds. It is a critical file needed to prevent double-signing if the upgrade fails and the previous chain needs to be restarted.
v1.0.2
binaryTo simplify the following step, we will be using Linux-x86 for illustration. Binary for Mac Windows with different DB and architecture are also available .
Terminate the cronosd
; afterwards, download the 1.0.2
released binaries from github:
You can verify the installation by checking the version of cronosd
, the version should be1.0.2
.
app.toml
In this v1.0.2 upgrade, there are a few extra parameters that we would have to add to .cronos/config/app.toml
under
config.toml
with the db_backend
field;
app.toml
with the app-db-backend
field.
For db_backend
:
Kindly set the above config to config/config.toml
in your our .cronos
dir according to your current DB setting, for example:
For app-db-backend
:
Kindly add
to config/app.toml
in your our .cronos
dir according to your current DB setting.
We are ready to start the node join the network again with the new binary:
Start cronosd
, e.g.:
Afterwards, sit back and wait for the syncing process. You can query the node syncing status by
If the above command returns false
, it means that your node is synced; otherwise, it returns true
and implies your node is still catching up.
At this step, you've successfully performed the "Galileo" upgrade!