Galactica Upgrade
Manual upgrade
warning
Upgrade height: 2689877. Avoid upgrading before reaching this height.
cd "$HOME" && rm -rf bin && mkdir bin && cd bin || exit 1
wget https://github.com/Galactica-corp/galactica/releases/download/v0.2.4/galacticad_v0.2.4-linux_amd64.zip
unzip galacticad_v0.2.4-linux_amd64.zip || exit 1
chmod +x galacticad
sudo mv galacticad $(which galacticad)
rm galacticad_v0.2.4-linux_amd64.zip
grep -q 'block-executor = "sequential"' $HOME/.galactica/config/app.toml || sed -i '/^\[evm\]/a block-executor = "sequential"' $HOME/.galactica/config/app.toml
grep -q 'block-stm-workers = 0' $HOME/.galactica/config/app.toml || sed -i '/^\[evm\]/a block-stm-workers = 0' $HOME/.galactica/config/app.toml
sudo service galacticad restart && sudo journalctl -fu galacticad -o cat
Cosmovisor upgrade
Choose this method only if you're using Cosmovisor to manage binaries and automate chain upgrades.
cd "$HOME" && rm -rf bin && mkdir bin && cd bin || exit 1
wget https://github.com/Galactica-corp/galactica/releases/download/v0.2.4/galacticad_v0.2.4-linux_amd64.zip
unzip galacticad_v0.2.4-linux_amd64.zip || exit 1
chmod +x galacticad
mkdir -p $HOME/.galactica/cosmovisor/upgrades/0.2.4/bin
mv galacticad $HOME/.galactica/cosmovisor/upgrades/0.2.4/bin/
rm galacticad_v0.2.4-linux_amd64.zip
grep -q 'block-executor = "sequential"' $HOME/.galactica/config/app.toml || sed -i '/^\[evm\]/a block-executor = "sequential"' $HOME/.galactica/config/app.toml
grep -q 'block-stm-workers = 0' $HOME/.galactica/config/app.toml || sed -i '/^\[evm\]/a block-stm-workers = 0' $HOME/.galactica/config/app.toml