#Update | LAVA N0de

Cipher Airdrop
2 min readJun 17, 2024

--

#DYOR

📢Let’s Discover

Let’s see👀

💠 Which vps should i use?
💠 How to Upgrade Node?

💠 Which vps should i use?
📌I recommend u to buy the contabo product coz that vps is perfect for this.

🌟VPS(Virtual Private Server)🌟
U can buy it from
🔶Contabo(If u have Credit-Card or Debit-Card then use the below👇)
🔷Open link: https://contabo.com/en/
OTHERWISE Use VPSDIME
🔶VPSDIME(Pay with Crypto)
🔷Open link: https://vpsdime.com/a/3884/linux-vps

âš¡ Buy the Suitable VPS and then open ur VPS in MOBILE SSH App(if u use Iphone/Android), use Putty(PC)

💠 How to Upgrade Node?

Stop the Service

sudo systemctl stop lavad.service

Remove Existing Data:

rm -rf ~/.lava/data

Clone the New Version of the Repository:

cd ~
rm -rf lava
git clone https://github.com/lavanet/lava
cd lava
git checkout v2.1.3

Build the New Binary:

export LAVA_BINARY=lavad
make install

Download Genesis and Addrbook Files:

curl -L https://snapshots-testnet.nodejumper.io/lava-testnet/genesis.json > $HOME/.lava/config/genesis.json
curl -L https://snapshots-testnet.nodejumper.io/lava-testnet/addrbook.json > $HOME/.lava/config/addrbook.json

Update Configuration Files:

# Set seeds
sed -i -e 's|^seeds *=.*|seeds = "3a445bfdbe2d0c8ee82461633aa3af31bc2b4dc0@prod-pnet-seed-node.lavanet.xyz:26656,e593c7a9ca61f5616119d6beb5bd8ef5dd28d62d@prod-pnet-seed-node2.lavanet.xyz:26656,ade4d8bc8cbe014af6ebdf3cb7b1e9ad36f412c0@testnet-seeds.polkachu.com:19956,eb7832932626c1c636d16e0beb49e0e4498fbd5e@lava-testnet-seed.itrocket.net:20656"|' $HOME/.lava/config/config.toml

# Set minimum gas price
sed -i -e 's|^minimum-gas-prices *=.*|minimum-gas-prices = "1ulava"|' $HOME/.lava/config/app.toml

# Set pruning
sed -i \
-e 's|^pruning *=.*|pruning = "custom"|' \
-e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
-e 's|^pruning-interval *=.*|pruning-interval = "17"|' \
$HOME/.lava/config/app.toml

# Change ports if necessary
sed -i -e "s%:1317%:19917%; s%:8080%:19980%; s%:9090%:19990%; s%:9091%:19991%; s%:8545%:19945%; s%:8546%:19946%; s%:6065%:19965%" $HOME/.lava/config/app.toml
sed -i -e "s%:26658%:19958%; s%:26657%:19957%; s%:6060%:19960%; s%:26656%:19956%; s%:26660%:19961%" $HOME/.lava/config/config.toml

Download Latest Chain Data Snapshot:

curl "https://snapshots-testnet.nodejumper.io/lava-testnet/lava-testnet_latest.tar.lz4" | lz4 -dc - | tar -xf - -C "$HOME/.lava"

Restart the Service:

sudo systemctl daemon-reload
sudo systemctl enable lavad.service
sudo systemctl start lavad.service

Check Logs:

sudo journalctl -u lavad.service -f --no-hostname -o cat

Congratulations🎉✨

--

--

Cipher Airdrop

We are CA crypto Organizer | 100% free #Early airdrops Follow us here: http://linktr.ee/cadrop