Network
Cosmos
Initia
Update | Upgrade

This page is continuest from Installation's Page, every updates/upgrades will be updated here

Update Binary to v0.2.15
cd $HOME
cd $HOME/initia
git pull
git checkout v0.2.15
make build
sudo cp $HOME/initia/initia/build/initiad $(which initiad)
 
# check the initiad version first
initiad version
 
# make sure to check the version of your initiad is 0.2.15, if it's right then restart the service of initia by executing the command below
 
sudo systemctl restart initiad
Config's Update & App's Update
sed -i.bak 's|timeout_propose = "1.8s"|timeout_propose = "3s"|g;
s|timeout_propose_delta = "300ms"|timeout_propose_delta = "500ms"|g;
s|timeout_prevote = "600ms"|timeout_prevote = "1s"|g;
s|timeout_prevote_delta = "300ms"|timeout_prevote_delta = "500ms"|g;
s|timeout_precommit = "600ms"|timeout_precommit = "1s"|g;
s|timeout_precommit_delta = "300ms"|timeout_precommit_delta = "500ms"|g;
s|timeout_commit = "3s"|timeout_commit = "1s"|g' $HOME/.initia/config/config.toml
 
sed -i.bak 's|client_timeout = "500ms"|client_timeout = "300ms"|g' $HOME/.initia/config/app.toml
 
# After all has been changed, make sure to restart the service and check the logs
sudo systemctl restart initiad && sudo journalctl -f -u initiad