Epix Binary Upgrade
Tip
Looking to install a new node from scratch? Visit the Validator Installation Guide.
Upgrade to v0.7.2
| Target Block | Proposal ID | Release Version | Binary Daemon |
|---|---|---|---|
5360000 | #10 | v0.7.2 | epixd |
Download & Extract Binary
cd $HOME
rm -rf epix
git clone https://github.com/EpixZone/EpixChain.git epix
cd epix
git checkout v0.7.2
make build
./build/epixd versionStart a new tmux session
tmux new -s epix-upgradeRun the auto-upgrade script.
⚠️ NOTE: Make sure you adjust the following according to your setup:
- RPC port: use your own RPC endpoint after -r (default is http://localhost:26657)
- API port: use your own REST API endpoint after -a (default is http://localhost:1317)
UPGRADE_SCRIPT="https://raw.githubusercontent.com/astrostake/scripts/refs/heads/main/upgrade_binary.sh"
curl -sL $UPGRADE_SCRIPT | bash -s -- \
-b "epixd" \
-t "5360000" \
-n "$HOME/epix/build/epixd" \
-p "$HOME/go/bin" \
-r "http://localhost:14657" \
-i "10" \
-a "http://localhost:14317" \
-d "https://discord.com/api/webhooks/xxx/yyy" \ # optional
--progress-interval 0Flag explanation:
| Flag | Name | Description |
|---|---|---|
-b | binary-name | Name of the running daemon (e.g. epixd) |
-t | target-block | Block height at which the upgrade should happen |
-n | new-binary-path | Full path to the new binary |
-p | install-path | Path where the current binary is installed (default: $HOME/go/bin) |
-r | rpc-url | RPC endpoint used to monitor current block height |
-i | proposal-id | (Optional) Proposal ID to validate governance status |
-a | api-url | (Optional) API endpoint used to fetch proposal status |
