Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal: Consensus not specified. Exiting!! #1662

Open
dhavalmp194 opened this issue Jul 29, 2023 · 1 comment
Open

Fatal: Consensus not specified. Exiting!! #1662

dhavalmp194 opened this issue Jul 29, 2023 · 1 comment

Comments

@dhavalmp194
Copy link

image My Node1 run successfully but when i try to run node2 i am getting above response my command to run both node are as below

Node 1 -
#!/bin/bash
PRIVATE_CONFIG=ignore
geth --datadir Node-0
--networkid 1330 --nodiscover --verbosity 5
--syncmode full
--istanbul.blockperiod 5 --mine --miner.threads 1 --miner.gasprice 0 --emitcheckpoints
--http --http.addr 127.0.0.1 --http.port 22000 --http.corsdomain "" --http.vhosts ""
--ws --ws.addr 127.0.0.1 --ws.port 32000 --ws.origins "*"
--http.api admin,eth,debug,miner,net,txpool,personal,web3,istanbul,quorum
--ws.api admin,eth,debug,miner,net,txpool,personal,web3,istanbul,quorum
--port 30001 >> logs/NODE-0.log 2>&1

Node 2 -
#!/bin/bash
PRIVATE_CONFIG=ignore
geth --datadir Node-1
--networkid 1330 --nodiscover --verbosity 5
--syncmode full
--istanbul.blockperiod 5 --mine --miner.threads 1 --miner.gasprice 0 --emitcheckpoints
--http --http.addr 127.0.0.1 --http.port 22001 --http.corsdomain "" --http.vhosts ""
--ws --ws.addr 127.0.0.1 --ws.port 32001 --ws.origins "*"
--http.api admin,eth,debug,miner,net,txpool,personal,web3
--ws.api admin,eth,debug,miner,net,txpool,personal,web3
--port 30002 >> logs/NODE-1.log 2>&1

As per other solution i have update my genesis config to istanbul but i didn't work for me

@kalikho
Copy link

kalikho commented Oct 10, 2023

Firstly check whether you have initialised your datadir with appropriate genesis file, Secondly, check if you are referring to right datadir when executing the above command, also how are you generating your genesis.json file ? Would suggest to use quorum-genesis-tool to generate the genesis.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants