v0.3.2

Previous Version: v0.3.1 - Failed Fork

v0.3.2

Important

  • Delete all files in data directory and wasm folder

  • Disable state-sync in config.toml file

  • add foundation persistent peers in your presistent peers list in config.toml 92ba004ac4bcd5afbd46bc494ec906579d1f5c1d@52.30.124.80:26656,ed5781ea586d802b580fdc3515d75026262f4b9d@54.171.21.98:26656

This guide assumes that the current systemd file is named as warden

For Non Cosmovisor Users

Downloading and installing Binary

sudo systemctl stop warden
cd $HOME
git clone https://github.com/warden-protocol/wardenprotocol
cd wardenprotocol
git pull
git checkout v0.3.2
make install

<pre class="language-bash"><code class="lang-bash"># Back up priv_validator_state.json if needed
cp ~/.warden/data/priv_validator_state.json  ~/.warden/priv_validator_state.json


#Delete the Wasm Dir and Data Dir contents & Genesis
rm -r $HOME/.warden/config/genesis.json
rm -fR $HOME/.warden/data/*
rm -fR $HOME/.warden/wasm

#Download the new Genesis
wget -O $HOME/.warden/config/genesis.json https://files.nodeshub.online/testnet/warden/genesis.json

#Alternate Link for Genesis
curl -L https://buenavista-genesis.s3.eu-west-1.amazonaws.com/genesis.json.tar.xz | tar xJf -

<strong>mv $HOME/.warden/priv_validator_state.json.backup $HOME/.warden/data/priv_validator_state.json
</strong>

sudo systemctl start warden

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/warden-protocol/wardenprotocol
cd wardenprotocol
git pull
git checkout v0.3.2
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.warden/cosmovisor/upgrades/v0.3.2/bin
sudo cp $HOME/go/bin/wardend $HOME/.warden/cosmovisor/upgrades/v0.3.2/bin/

#Stop warden daemon
sudo systemctl stop warden

#creating symlink to new binaries
ls -l $HOME/.warden/cosmovisor/current
rm $HOME/.warden/cosmovisor/current
ln -s $HOME/.warden/cosmovisor/upgrades/v0.3.2 $HOME/.warden/cosmovisor/current

<pre class="language-bash"><code class="lang-bash"># Back up priv_validator_state.json if needed
cp ~/.warden/data/priv_validator_state.json  ~/.warden/priv_validator_state.json


#Delete the Wasm Dir and Data Dir contents & Genesis
rm -r $HOME/.warden/config/genesis.json
rm -fR $HOME/.warden/data/*
rm -fR $HOME/.warden/wasm

#Download the new Genesis
wget -O $HOME/.warden/config/genesis.json https://files.nodeshub.online/testnet/warden/genesis.json

#Alternate Link for Genesis
curl -L https://buenavista-genesis.s3.eu-west-1.amazonaws.com/genesis.json.tar.xz | tar xJf -

<strong>mv $HOME/.warden/priv_validator_state.json.backup $HOME/.warden/data/priv_validator_state.json
</strong>

#starting warden
sudo systemctl start warden && sudo journalctl -u warden -f -o cat

Last updated