gaia icon indicating copy to clipboard operation
gaia copied to clipboard

Fail to start gaia when using the mainnet genesis.json

Open ImJeremyHe opened this issue 2 years ago • 6 comments

Summary of Bug

Curl the genesis.json

curl https://raw.githubusercontent.com/cosmos/launch/master/genesis.json > ~/.gaia/config/genesis.json
go run cmd/gaiad/main.go start

Error: error reading GenesisDoc at /Users/jeremyhe/.gaia/config/genesis.json: invalid character ':' after top-level value

Version

main: 9ee1f2f

Steps to Reproduce


For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned
  • [ ] Is a spike necessary to map out how the issue should be approached?

ImJeremyHe avatar Sep 22 '22 06:09 ImJeremyHe

Hi where do you find the link for genesis? if you are doing state sync, you can use genesis here. https://github.com/cosmos/mainnet/tree/master/genesis

yaruwangway avatar Sep 22 '22 09:09 yaruwangway

https://github.com/cosmos/gaia/blob/main/docs/zh/gaia-tutorials/join-mainnet.md

ImJeremyHe avatar Sep 22 '22 09:09 ImJeremyHe

I just want to search a genesis.json to run gaia and make an investigation.

ImJeremyHe avatar Sep 22 '22 09:09 ImJeremyHe

it seems the link is not valid anymore, we will update it. thank you!

yaruwangway avatar Sep 22 '22 10:09 yaruwangway

Could you tell me just how to go run this repo? I used 2 of these files(https://github.com/cosmos/mainnet/tree/master/genesis), but still got errors. I am looking for the implementation on tendermint service, it would be helpful if you know where I can find it.

ImJeremyHe avatar Sep 23 '22 00:09 ImJeremyHe

sorry @ImJeremyHe looks like you were following the translated docs which we haven't been able to keep up to date. Could you please try following the english docs and see if your error still occurs? Will close now, please re-open if you're still having issues

okwme avatar Oct 31 '22 16:10 okwme