likecoin/likecoin-chain

Failed to `Setup LikeCoin chain mainnet node`

Closed this issue · 2 comments

I follow the steps as https://github.com/likecoin/likecoin-chain/wiki/Setup-LikeCoin-chain-mainnet-node
And I found that, the output of docker-compose logs is:

Attaching to likechain_liked
likechain_liked | getting external IP address
likechain_liked | Got external IP: 167.172.206.151
likechain_liked | p2p.external_address = tcp://167.172.206.151:26656
likechain_liked | I[2020-03-16|04:59:18.719] starting ABCI with Tendermint                module=main
likechain_liked | ERROR: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain

I guess that:
We should add a step before docker-compose up -d, similar to

After step 1, a Cosmos address for the validator will be initialized. Send the address to us and we will send some token into the account for staking.

which is described in https://github.com/likecoin/likecoin-chain/blob/master/README.md

My address is cosmos1fczdv93strevfmvc3fyv3zyrmckcnn2pvuvqul

Best wishes!

I think you haven't download the correct genesis.json? What is the content of .liked/config/genesis.json?

@nnkken Thanks. It is because I didn't remove the default .liked, .likecli and docker-compose.yml.
This problem has been solved now.