-
Notifications
You must be signed in to change notification settings - Fork 380
Cronos POS Node setup failing #1241
Description
Hello team,
I’m trying to set up a Cronos POS node using the chain-main repo code.
Repo / version
https://github.com/crypto-org-chain/chain-main/tree/v1.2.1
What I did
-
Build Docker image (mainnet)
I modified the Dockerfile to target mainnet, then built the image:
sudo docker build --no-cache -t cryptocom/chain-main:v1.2.1 .
Build completed successfully. -
Docker Compose
Here is my docker-compose.yml:
services:
chainmaind:
container_name: cronospos
image: cryptocom/chain-main:v1.2.1
volumes:- /localdisk/data:/chain-home
ports: - "26656:26656"
- "26657:26657"
command: ["chain-maind", "start", "--home", "/chain-home"]
- /localdisk/data:/chain-home
-
Config changes
Updated data/config/app.toml to set the minimum gas price.
Downloaded the genesis file:
sudo wget https://raw.githubusercontent.com/crypto-org-chain/mainnet/main/crypto-org-chain-mainnet-1/genesis.json
Updated seeds in data/config/config.toml:
seeds = "0d5cf1394a1cfde28dc8f023567222abc0f47534@cronos-seed-0.crypto.org:26656,3032073adc06d710dd512240281637c1bd0c8a7b@cronos-seed-1.crypto.org:26656,04f43116b4c6c70054d9c2b7485383df5b1ed1da@cronos-seed-2.crypto.org:26656"
- priv_validator_state.json
I manually created data/data/priv_validator_state.json with:
{"height":"0","round":0,"step":0}
Issue : Could you confirm whether the above steps/config locations are correct for a mainnet Cronos POS node using chain-main:v1.2.1? If not, what should I change?
Logs
cronospos | 12:29PM INF starting ABCI with Tendermint
cronospos | 12:29PM INF Starting multiAppConn service impl=multiAppConn module=proxy
cronospos | 12:29PM INF Starting localClient service connection=query impl=localClient module=abci-client
cronospos | 12:29PM INF Starting localClient service connection=snapshot impl=localClient module=abci-client
cronospos | 12:29PM INF Starting localClient service connection=mempool impl=localClient module=abci-client
cronospos | 12:29PM INF Starting localClient service connection=consensus impl=localClient module=abci-client
cronospos | 12:29PM INF Starting EventBus service impl=EventBus module=events
cronospos | 12:29PM INF Starting PubSub service impl=PubSub module=pubsub
cronospos | 12:29PM INF Starting IndexerService service impl=IndexerService module=txindex
cronospos | 12:29PM INF ABCI Handshake App Info hash= height=0 module=consensus protocol-version=0 software-version=
cronospos | 12:29PM INF ABCI Replay Blocks appHeight=0 module=consensus stateHeight=0 storeHeight=0
cronospos | 12:29PM INF created new capability module=ibc name=ports/transfer
cronospos | 12:29PM INF port binded module=x/ibc/port port=transfer
cronospos | 12:29PM INF claimed capability capability=1 module=transfer name=ports/transfer
cronospos | 12:29PM INF Completed ABCI Handshake - Tendermint and App are synced appHash= appHeight=0 module=consensus
cronospos | 12:29PM INF Version info block=11 p2p=8 software=
cronospos | 12:29PM INF This node is not a validator addr=133015D845D7961D62E70B852D6B942634390618 module=consensus pubKey=oezCmBTtibkB1iSAWKxLlkmqkCA93B8Sa3t7f21CvTk=
cronospos | 12:29PM INF P2P Node ID ID=994e94fa312fb2a2189da1cd2479286f193f9ffd file=/chain-home/config/node_key.json module=p2p
cronospos | 12:29PM INF Adding persistent peers addrs=[] module=p2p
cronospos | 12:29PM INF Adding unconditional peer ids ids=[] module=p2p
cronospos | 12:29PM INF Add our address to book addr={"id":"994e94fa312fb2a2189da1cd2479286f193f9ffd","ip":"0.0.0.0","port":26656} book=/chain-home/config/addrbook.json module=p2p
cronospos | 12:29PM INF Starting Node service impl=Node
cronospos | 12:29PM INF Starting pprof server laddr=localhost:6060
cronospos | 12:29PM INF Starting RPC HTTP server on 127.0.0.1:26657 module=rpc-server
cronospos | 12:29PM INF Starting P2P Switch service impl="P2P Switch" module=p2p
cronospos | 12:29PM INF Starting Consensus service impl=ConsensusReactor module=consensus
cronospos | 12:29PM INF Reactor module=consensus waitSync=true
cronospos | 12:29PM INF Starting Evidence service impl=Evidence module=evidence
cronospos | 12:29PM INF Starting StateSync service impl=StateSync module=statesync
cronospos | 12:29PM INF Starting PEX service impl=PEX module=pex
cronospos | 12:29PM INF Starting AddrBook service book=/chain-home/config/addrbook.json impl=AddrBook module=p2p
cronospos | 12:29PM INF Starting Mempool service impl=Mempool module=mempool
cronospos | 12:29PM INF Starting BlockchainReactor service impl=BlockchainReactor module=blockchain
cronospos | 12:29PM INF Starting BlockPool service impl=BlockPool module=blockchain
cronospos | 12:29PM INF Saving AddrBook to file book=/chain-home/config/addrbook.json module=p2p size=0
cronospos | 12:29PM INF Ensure peers module=pex numDialing=0 numInPeers=0 numOutPeers=0 numToDial=10
cronospos | 12:29PM INF No addresses to dial. Falling back to seeds module=pex
cronospos | 12:29PM INF Dialing peer address={"id":"0d5cf1394a1cfde28dc8f023567222abc0f47534","ip":"34.124.152.40","port":26656} module=p2p
cronospos | 12:29PM ERR Error dialing seed err="incompatible: peer is on a different network. Got cronosmainnet_25-1, expected crypto-org-chain-mainnet-1" module=p2p seed={"id":"0d5cf1394a1cfde28dc8f023567222abc0f47534","ip":"34.124.152.40","port":26656}
cronospos | 12:29PM INF Dialing peer address={"id":"04f43116b4c6c70054d9c2b7485383df5b1ed1da","ip":"35.240.159.188","port":26656} module=p2p
cronospos | 12:29PM ERR Error dialing seed err="incompatible: peer is on a different network. Got cronosmainnet_25-1, expected crypto-org-chain-mainnet-1" module=p2p seed={"id":"04f43116b4c6c70054d9c2b7485383df5b1ed1da","ip":"35.240.159.188","port":26656}
cronospos | 12:29PM INF Dialing peer address={"id":"3032073adc06d710dd512240281637c1bd0c8a7b","ip":"34.126.68.19","port":26656} module=p2p
cronospos | 12:29PM ERR Error dialing seed err="incompatible: peer is on a different network. Got cronosmainnet_25-1, expected crypto-org-chain-mainnet-1" module=p2p seed={"id":"3032073adc06d710dd512240281637c1bd0c8a7b","ip":"34.126.68.19","port":26656}
cronospos | 12:29PM ERR Couldn't connect to any seeds module=p2p