Having trouble setting up burner chain with multiple validators, on the same machine
Hello everybody, I want to create a burner chain with, say, 2 validators. There will be one virtual machine for each validator, but for convenience’s sake, I want to do the Cosmos-SDK daemon setup for both validator nodes on the same machine, make some edits, and then copy the directories over to the virtual machines. I’m having trouble with the `gentx` step though, and because the genesis.json will be slightly different between the two nodes, I have to copy the first node’s genesis.json to the other one. At least, that’s what I think. But I always either run into ``` starting ABCI with Tendermint module=main ERROR: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain ``` or ``` I[2020-09-23|12:55:35.966] starting ABCI with Tendermint module=main panic: unauthorized: signature verification failed; verify correct account sequence and chain-id ``` This is what I’m doing so far, translated into bash script: ``` CLI=dist/launchpayloadcli DAE=dist/launchpayloadd CLI0HOME=config/0/cli DAE0HOME=config/0/daemon CLI1HOME=config/1/cli DAE1HOME=config/1/daemon GENTXDIR=config/genesis_txs $DAE init burnerchain…
Excerpt (1197 of 2503 characters). Read the whole post on the forum ↗
Not sure exactly, but trying to create the same genesis file in two places at once seems confusing. I would focus on building it once in one place, then run gentx and collect-gentxs, and see if you can start the one node. Then copy the resulting genesis file into the second home directory to run the second node.