Upgrade
Current Version
Upgrade Folder
v8.6.0
v8.6.x
This guide assumes that the current systemd file is named as functionx
Downloading and installing Binary
sudo systemctl stop functionx
cd $HOME
git clone https://github.com/functionx/fx-core
cd fx-core
git pull
git checkout v8.6.0
make install
sudo systemctl start functionx
For Cosmovisor Users
# Downloading and installing Binary
cd $HOME
git clone https://github.com/functionx/fx-core
cd fx-core
git pull
git checkout v8.6.0
make install
# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.fxcore/cosmovisor/upgrades/v8.6.x/bin
sudo cp $HOME/go/bin/fxcored $HOME/.fxcore/cosmovisor/upgrades/v8.6.x/bin/
#Stop functionx daemon
sudo systemctl stop functionx
#creating symlink to new binaries
ls -l $HOME/.fxcore/cosmovisor/current
rm $HOME/.fxcore/cosmovisor/current
ln -s $HOME/.fxcore/cosmovisor/upgrades/v8.6.x $HOME/.fxcore/cosmovisor/current
#starting functionx
sudo systemctl start functionx && sudo journalctl -u functionx -f -o cat
Last updated