I am trying to setup the cosmos mainnet (cosmoshub-2) and followed instruction to install binaries gaiad and gaiacli.
$ gaiad version --long
name: gaia
server_name: gaiad
client_name: gaiacli
version: 2.0.0
commit: 3c70fee433956ba32e35705193a5f7a7d5b63277
build_tags: netgo,ledger
go: go version go1.13 linux/amd64
$ gaiacli version --long
name: gaia
server_name: gaiad
client_name: gaiacli
version: 2.0.0
commit: 3c70fee433956ba32e35705193a5f7a7d5b63277
build_tags: netgo,ledger
go: go version go1.13 linux/amd64
I changed/added required config in ~/.gaiad/config/config.toml and replaced genesis.json downloaded from https://github.com/cosmos/launch.
Now, when I try to start, I get following error:
$ gaiad start
I[2019-09-09|12:14:26.306] Starting ABCI with Tendermint module=main
panic: stored supply should not have been nil
goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/x/supply/internal/keeper.Keeper.GetSupply(0xc0001b20e0, 0x155b1e0, 0xc0001792d0, 0x156b0e0, 0xc0001b2bd0, 0x7fdd8da7b5b0, 0xc0000f0460, 0xc000156d80, 0x156a060, 0xc00003a100, ...)
/home/user/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.0/x/supply/internal/keeper/keeper.go:50 +0x18f
github.com/cosmos/cosmos-sdk/x/supply/internal/keeper.TotalSupply.func1(0x156a060, 0xc00003a100, 0x157aae0, 0xc00023d480, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
Any help is highly appreciated