Upgrading your Artela node based on new patch

Fotis Manolas
Jul 3, 2024

--

First things first confirm that your node is at block 9325555:

artelad status | jq .SyncInfo.latest_block_height

Step1: Create a folder to store aspect lib:

cd ~/.artelad && mkdir libs && cd libs

Step2: Get v0.4.7-rc7 binary and aspect lib:

wget https://github.com/artela-network/artela/releases/download/v0.4.7-rc7/artelad_0.4.7_rc7_Linux_amd64.tar.gz

Step3: Stop your node and use the v0.4.7-rc7 binary:

cd 
sudo systemctl artelad stop
mkdir test_new
tar -xzf artelad_0.4.7_rc7_Linux_amd64.tar.gz -C ./test_new
rm $HOME/.artelad/cosmovisor/genesis/bin/artelad
mv ./test_new/artelad $HOME/.artelad/cosmovisor/genesis/bin/
mv ./test_new/libaspect_wasm_instrument $HOME/.artelad/libs/

Step 4: modify your service file:

sudo nano /etc/systemd/system/artelad.service

Add this

Environment="LD_LIBRARY_PATH=/root/.artelad/libs"

under your [System] property of the file ,hit cntrl +x , y and enter

then reload your service

sudo systemctl daemon-reload
sudo systemctl start artelad
sudo journalctl -u artelad -f --no-hostname -o cat

Rollback your node in case of error

artelad rollback --hard
sudo systemctl restart artelad

That’s all folks!

--

--