Skip to content

Genesis now parsed by parameters-state module #47

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

Merged
merged 8 commits into from
Jun 23, 2025

Conversation

shd
Copy link
Collaborator

@shd shd commented Jun 17, 2025

  1. Genesis parsing moved from bootstrapper to parameters-state
  2. Added byron and shelley genesis parameter sets

let message_enum = Message::Cardano((
block_info,
CardanoMessage::GenesisComplete(completion_message),
CardanoMessage::GenesisComplete(GenesisCompleteMessage {
conway_genesis: None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this flag entirely now, I think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not use "GenesisComplete" anymore, so maybe it could be done

@@ -23,8 +18,6 @@ const DEFAULT_COMPLETION_TOPIC: &str = "cardano.sequence.bootstrapped";

// Include genesis data (downloaded by build.rs)
const MAINNET_BYRON_GENESIS: &[u8] = include_bytes!("../downloads/mainnet-byron-genesis.json");
const MAINNET_SHELLEY_GENESIS: &[u8] = include_bytes!("../downloads/mainnet-shelley-genesis.json");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These need removing from its build.rs too

@sandtreader sandtreader merged commit 7352a9d into main Jun 23, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants