abracadaniel / cardano-pool-docker

Docker container for setting up and running a Cardano Stake Pool
163 stars 62 forks source link

conway-genesis.json not matching the expected hash #74

Closed robinboening closed 1 month ago

robinboening commented 2 months ago

The currently provided conway-genesis json wasn't working. The node failed with

cardano-node: Conway related : Wrong genesis file: the actual hash is "b84bce2d465bcdb38ebd873f126a866d7ebceb154357496396fb602104329299", but the expected genesis hash given in the node configuration file is "de609b281cb3d8ae91a9d63a00c87092975612d603aa54c0f1c6a781e33d6e1e"

I had to copy the original json from here https://book.world.dev.cardano.org/environments/mainnet/conway-genesis.json to make it match the expected hash.

I can see the latest change of the file made it in to the docker image and it looks identical to the source hosted at cardano.org. I am failing to see why it isn't working with the file shipped in the image.

abracadaniel commented 1 month ago

The container doesn't automatically update the config.json and genesis files when changes are made to those during version updates. That will have to be done manually, or by running the init_config. Could that be the issue?

robinboening commented 1 month ago

Thank you! Yes, that makes total sense indeed! :)