Skip to content

Latest commit

 

History

History
92 lines (66 loc) · 2.11 KB

v0.10.0-upgrade.md

File metadata and controls

92 lines (66 loc) · 2.11 KB

OmniFlixHub V0.10.0 Mainnet Upgrade Guide

Name: v0.10.0

When: The upgrade is scheduled for block 6262420, which should be about 6:00 UTC on 19th April 2023.

Version: v0.10.0

Details : Check here for detailed change log.

Recommended Specifications:

  • 4 Core CPU
  • 16GB or more RAM
  • 500GB SSD

Go version

go v1.19+

1. Manual Method

Wait for Omniflixhub to reach the upgrade height (6262420)

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

sudo systemctl stop omniflixhubd.service

Run the following commands:

cd $HOME/omniflixhub
git fetch --all
git checkout v0.10.0
make install

Check Version

omniflxihubd version --long

output should be

name: OmniFlixHub
server_name: omniflixhubd
version: 0.10.0
commit: 04b3568726f3471595ecc0b6a710632c354cc482
build_tags: netgo,ledger,cosmos-sdk v0.45.15
go: go version go1.19.3 linux/amd64

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 v0.10.0
make build && make install

# check the version - should be v0.10.0
verions details
>name: OmniFlixHub
>server_name: omniflixhubd
>version: 0.10.0
>commit: 04b3568726f3471595ecc0b6a710632c354cc482
>build_tags: netgo,ledger,cosmos-sdk v0.45.15
>go: go version go1.19.3 linux/amd64


# make a dir if you haven't
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v0.10.0/bin

# if you are using cosmovisor you then need to copy this new binary
cp /home/<your-user>/go/bin/omniflixhubd $DAEMON_HOME/cosmovisor/upgrades/v0.10.0/bin

# check new version you are about to run - should be equal to v0.10.0
$DAEMON_HOME/cosmovisor/upgrades/v0.10.0/bin/omniflixhubd version

NOTE:

Make sure that you have compiled binary with go v1.19+