Skip to content

Latest commit

 

History

History
94 lines (73 loc) · 2.21 KB

v5.1.0-upgrade.md

File metadata and controls

94 lines (73 loc) · 2.21 KB

Mainnet v5.1.0 Software Upgrade

Name: v5.1.0

When: The upgrade is scheduled for block 15777200. (approximately at - Jan 17th 2025 Friday 13:00 UTC)

Details :

  • version updates

    • cosmos-sdk v0.50.11
  • Fixes & Improvements

    • cosmos-sdk security patches
    • added missing itc module endblocker
    • icahost keeper init with correct params

Go version

go v1.22.5+

1. Manual Method

Wait for Omniflixhub to reach the upgrade height (15777200)

Look for a panic message, followed by endless peer logs. Stop the daemon

sudo systemctl stop omniflixhubd.service

Install go v1.22.5+

# Remove previous installation
sudo rm -rf /usr/local/go
wget -q -O - https://git.io/vQhTU | bash -s -- --remove
wget -q -O - https://git.io/vQhTU | bash -s -- --version 1.22.5

# Check version
go version

Run the following commands:

cd $HOME/omniflixhub
git fetch --all
git checkout v5.1.0
make install

Check Version

omniflixhubd version --long

output should be

commit: 392dab0a7e419eb34b1200d760a008bf93c32c0f
cosmos_sdk_version: v0.50.11
go: go version go1.22.5 linux/amd64
name: OmniFlixHub
server_name: omniflixhubd
version: v5.1.0

Restart the omniflixhubd service

sudo systemctl start omniflixhubd.service

2. Cosmovisior Method

Install and setup cosmovisor if you haven't running with cosmovisor

cosmovisor-setup.md

Build and Copy Binary

git checkout main && git pull
git checkout v5.1.0
make build && make install

# check the version - should be v5.1.0
$HOME/go/bin/omniflixhubd version --long
commit: 392dab0a7e419eb34b1200d760a008bf93c32c0f
cosmos_sdk_version: v0.50.11
go: go version go1.22.5 linux/amd64
name: OmniFlixHub
server_name: omniflixhubd
version: v5.1.0

# make a dir if you haven't
mkdir -p $HOME/.omniflixhub/cosmovisor/upgrades/v5.1.0/bin

# if you are using cosmovisor you then need to copy this new binary
cp $HOME/go/bin/omniflixhubd $HOME/.omniflixhub/cosmovisor/upgrades/v5.1.0/bin

# check new version you are about to run - should be equal to v5.1.0
$HOME/.omniflixhub/cosmovisor/upgrades/v5.1.0/bin/omniflixhubd version