cd $HOMEwgethttps://github.com/Zenrock-Foundation/zrchain/releases/download/v5.4.0/zenrockd.zipunzipzenrockd.ziprmzenrockd.zipchmod+x $HOME/zenrockdsudocp $HOME/zenrockd $HOME/.zrchain/cosmovisor/upgrades/v5.5.0/bin/zenrockd
sudotee/etc/systemd/system/zenrockd.service>/dev/null<<EOF[Unit]Description=Zenrock Consensus ClientAfter=network.target[Service]User=rootEnvironment="DAEMON_NAME=zenrockd"Environment="DAEMON_HOME=/root/.zrchain"Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true"Environment="DAEMON_RESTART_AFTER_UPGRADE=true"Environment="DAEMON_DATA_BACKUP_DIR=/root/.zrchain/cosmovisor/backup"Environment="UNSAFE_SKIP_BACKUP=true"ExecStart=/root/go/bin/cosmovisor run startRestart=alwaysRestartSec=3LimitNOFILE=4096[Install]WantedBy=multi-user.targetEOF
To schedule an upgrade to a new client version at a specific block height, cosmovisor should already be running. Once confirmed, open a separate terminal and run: