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

[BUG] - misleading error message when Alonzo genesis file hash doesn't match expected hash #3002

Closed
mkoura opened this issue Aug 2, 2021 · 0 comments · Fixed by #3003
Closed
Labels
bug Something isn't working comp: cardano-cli era: alonzo type: bug Something is not working user type: internal Created by an IOG employee

Comments

@mkoura
Copy link
Contributor

mkoura commented Aug 2, 2021

Internal

Area
Other Any other topic (Delegation, Ranking, ...).

Summary
The error message mentions Shelley genesis file when in fact the Alonzo genesis file hash doesn't match the hash given in the node configuration file:

Wrong Shelley genesis file: the actual hash is "f61a6f5100999bf50d2761e1ac7cc0833a17c7caad1f4ec58d6a62606f777f40", but the expected Shelley genesis hash given in the node configuration file is "c7cdcccbc6adec169f74784de720db8414665591d87498b513266d41680c587f"

Steps to reproduce
Steps to reproduce the behavior:

  1. Change AlonzoGenesisHash value
  2. Start the node

Expected behavior
The error message mentions Alonzo genesis file.

System info (please complete the following information):

  • OS Name: Fedora
  • OS Version 34
  • Node version:
cardano-node 1.28.0 - linux-x86_64 - ghc-8.10
git rev ba70f27ac982b1eae70ba19450b840b5a8cbcba4
  • CLI version:
cardano-cli 1.28.0 - linux-x86_64 - ghc-8.10
git rev ba70f27ac982b1eae70ba19450b840b5a8cbcba4
@mkoura mkoura added the bug Something isn't working label Aug 2, 2021
iohk-bors bot added a commit that referenced this issue Aug 2, 2021
3003: Update genesis hash mismatch error for Alonzo r=Jimbo4350 a=Jimbo4350

Resolves #3002 
The same Shelley genesis hash mismatch error was used for Alonzo. I have updated the error message to indicate if the genesis hash mismatch is related to the Shelley or Alonzo genesis.

Co-authored-by: Jordan Millar <jordan.millar@iohk.io>
iohk-bors bot added a commit that referenced this issue Aug 2, 2021
3003: Update genesis hash mismatch error for Alonzo r=Jimbo4350 a=Jimbo4350

Resolves #3002 
The same Shelley genesis hash mismatch error was used for Alonzo. I have updated the error message to indicate if the genesis hash mismatch is related to the Shelley or Alonzo genesis.

Co-authored-by: Jordan Millar <jordan.millar@iohk.io>
@iohk-bors iohk-bors bot closed this as completed in e99393d Aug 2, 2021
@dorin100 dorin100 added type: bug Something is not working user type: internal Created by an IOG employee comp: cardano-cli era: alonzo labels Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp: cardano-cli era: alonzo type: bug Something is not working user type: internal Created by an IOG employee
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants