Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.03 KB

upgrade v0.10.0.md

File metadata and controls

37 lines (32 loc) · 1.03 KB

Blok yükseliği 2041000 geldiğinde yapacağız.

GO kurmamız gerekiyor atlamayın

cd $HOME
version="1.20.4"
wget "https://golang.org/dl/go$version.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$version.linux-amd64.tar.gz"
rm "go$version.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
systemctl stop elysd
cd $HOME/elys
git fetch --all
git checkout v0.10.0
make build
sudo mv $HOME/elys/build/elysd $(which elysd)
sudo systemctl restart elysd && sudo journalctl -u elysd -f

Ardından snap atıyoruz..

sudo systemctl stop elysd

cp $HOME/.elys/data/priv_validator_state.json $HOME/.elys/priv_validator_state.json.backup

rm -rf $HOME/.elys/data 
curl https://testnet-files.itrocket.net/elys/snap_elys.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.elys

mv $HOME/.elys/priv_validator_state.json.backup $HOME/.elys/data/priv_validator_state.json
sudo systemctl restart elysd && sudo journalctl -u elysd -f