Manual Upgrades
Learn how to manually upgrade your node.Prerequisites
1. Upgrade the Paxeer Network version
Before upgrading the Paxeer Network version. Stop your instance ofhyperpaxd using Ctrl/Cmd+C.
Next, upgrade the software to the desired release version. Check the Paxeer Network releases page
for details on each release.
:::danger
Ensure that the version installed matches the one needed for the network you are running (mainnet or testnet).
:::
version command:
$PATH to ensure the correct hyperpaxd is running.
:::
2. Replace Genesis file
:::tip You can find the latestgenesis.json file for mainnet or testnet in the following repositories:
- Mainnet: github.com/Paxeer-Network/mainnet
- Testnet: github.com/Paxeer-Network/testnets :::
new_genesis.json.
Then, replace the old genesis.json located in your config/ directory with new_genesis.json:
sha256sum to check the hash of the downloaded genesis against the expected genesis.
3. Data Reset
:::danger Check here if the version you are upgrading require a data reset (hard fork). If this is not the case, you can skip to Restart. ::: Remove the outdated files and reset the data:priv_validator.json and config.toml. If you had any
sentry nodes or full nodes setup before,
your node will still try to connect to them, but may fail if they haven’t also
been upgraded.
:::danger
🚨 IMPORTANT 🚨
Make sure that every node has a unique priv_validator.json. DO NOT copy the priv_validator.json from an old node
to multiple new nodes. Running two nodes with the same priv_validator.json will cause you to double sign.
:::
4. Restart Node
To restart your node once the new genesis has been updated, use thestart command: