Launching Gaia-8000

Gaia-8000 failed because we don’t have good integration tests for byzantine behavior yet.

Gaia-8001 is launching. Launching Gaia-8001

Here is the upgrade procedure.

cd $GOPATH/src/github.com/cosmos/cosmos-sdk
gaiad unsafe_reset_all
git fetch --tags
git checkout v0.24.0
rm Gopkg.lock
make get_vendor_deps  && make install

gaiad version

0.24.0-d5652d96

if you get following error on gaiad unsafe_reset_all

Error reading PrivValidator from /cosmos/.gaiad/config/priv_validator.json: json: cannot unmarshal object into Go value of type []uint8

Checkout v0.23.1 and make and start over

download the genesis file https://raw.githubusercontent.com/cosmos/testnets/master/gaia-8000/genesis.json

Copy it to $HOME/.gaiad/config/genesis.json

put the following seeds in $HOME/.gaiad/config/config.toml

seeds = "7c8b8fd03577cd4817f5be1f03d506f879df98d8@gaia-seed1.interblock.io:26656, a28737ff02391a6e00a1d3b79befd57e68e8264c@gaia-seed2.interblock.io:26656, 987ffd26640cd03d08ed7e53b24dfaa7956e612d@gaia-seed3.interblock.io:26656,837ab35ee80e6882da08ab6244ef27538e73aedd@gaia-seed4.interblock.io:26656"
gaiad start
9 Likes

with v0.23.1 do

gaiad unsafe_reset_all

if u get

grouped write of manifest, lock and vendor: failed to export github.com/zondax/ledger-goclient: fatal: failed to unpack tree object 4296ee5701e945f9b3a7dbe51f402e0b9be57259

then do

cd $GOPATH/src/github.com/cosmos/
rm -rf cosmos-sdk
git clone https://github.com/cosmos/cosmos-sdk
cd cosmos-sdk
git fetch --tags
git checkout v0.24.0
make get_tools && make get_vendor_deps && make install

Easier fix.

Just rm Gopkg.lock in $GOPATH/go/src/github.com/cosmos/cosmos-sdk

Here are some peers to connect to:

525983b3b336404d98b3a3093ff44aa534517216@18.191.157.139:26656, 8894561f32c2a8b99f02a14346d00d3d03395df7@18.222.164.161:26656

Happy gaia-8000 everyone :slight_smile:

1 Like

Seeds: :point_down:

seeds = "7c8b8fd03577cd4817f5be1f03d506f879df98d8@gaia-seed1.interblock.io:26656, a28737ff02391a6e00a1d3b79befd57e68e8264c@gaia-seed2.interblock.io:26656, 987ffd26640cd03d08ed7e53b24dfaa7956e612d@gaia-seed3.interblock.io:26656,837ab35ee80e6882da08ab6244ef27538e73aedd@gaia-seed4.interblock.io:26656"

1 Like

error building make get_vendor_deps

cd go/src/github.com/cosmos/cosmos-sdk

rm Gopkg.lock

rm -rf .vendor-new

make get_vendor_deps && make install
3 Likes

steps for update, no errors

gaiad unsafe_reset_all

cd go/src/github.com/cosmos/cosmos-sdk

git fetch --tags

rm Gopkg.lock

rm -rf .vendor-new

git checkout v0.24.0

make get_vendor_deps
(if need again  = rm Gopkg.lock and  rm .vendor_new)

make install

cd

cd .gaiad/config

rm genesis.json

wget -c 'https://raw.githubusercontent.com/cosmos/testnets/master/gaia-8000/genesis.json'

gaiad start

2 Likes

Some people (including block3.community) are getting the error:

~/.gaiad/config$ gaiad unsafe_reset_all
Error reading PrivValidator from /cosmos/.gaiad/config/priv_validator.json: json: cannot unmarshal object into Go value of type []uint8

The workaround is to:

  • rollback to release v0.23.1
  • gaiad unsafe_reset_all
  • upgrade to release v0.24.0
2 Likes

Thanks for posting all the troubleshooting info.

I will update the post on the top with it in bit.

1 Like

No need roolback
Just need restore priv_validator.json
Unsafe reset
And is ok.

But if you can restore the priv_validator key.
Then maybe need roll-back

And if you just unsafe reset before update.
All is ok

1 Like

Yes, this is another way to fix this issue.

1 Like