Configuring the Config Files and Running the Node

Hi - I am new to cardano stake pools. I am trying to setup my first stake pool and I have installed the cardano-node sucessfully.

I then got the configuration files for the Mainnet and downloading them into ~/src/cardano-node:
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-config.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-byron-genesis.json
similar links for mainnet-shelly-genesis and mainnet-topology (forum won’t let me paste all the links but they’re copied from the official github page)

After that I run “cardano-node run” and I see the following error:

Alonzo related: Wrong genesis file: the actual hash is “02846121d1b8b8ecf3ce9739d46352c2b504148b4f93f1937dea66b6f0f681c7”, but the expected genesis hash given in the node configuration file is “06cc024b823b6d20f5dde2faf8de2d895f47983ab584db38ea62111b61038e35”

I have searched for a solution but can’t seem to find it. Any thoughts on why this is happening and how can I fix it?

Thank you!

Update
re-did all the steps to rebuild the node, now I get the same error for Shelley:
Wrong Shelley genesis file: the actual hash is “02846121d1b8b8ecf3ce9739d46352c2b504148b4f93f1937dea66b6f0f681c7”, but the expected Shelley genesis hash given in the node configuration file is “06cc024b823b6d20f5dde2faf8de2d895f47983ab584db38ea62111b61038e35”

Anyone know what could be the reason for the hashes not matching?

What version did u installed? U downloaded the files for alonzo

https://hydra.iohk.io/build/7191656/download/1/index.html

at first I had done Alonzo-purple-1.0.1 but then thought maybe that’s not the node I should be working with 1.28.0.
I have downloaded the following Mainnet files:

1) mainnet-config.json
2) mainnet-byron-genesis.json
3) mainnet-shelley-genesis.json
4) mainnet-topology.json

do I need to download the files for alzono as well?

1.28.0 is not official released but should work as well; 1.28.0 is for alonzo which will support smart contracts… now:

  • keep 1.28.0 and download the files for alonzo
  • downgrade to 1.27.0 and use the old files
1 Like

I downgraded it to 1.27.0 and it seems to be working and downloading the blocks.
Thank you @Alexd1985

2 Likes