-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
shd
commented
Jun 17, 2025
- Genesis parsing moved from bootstrapper to parameters-state
- Added byron and shelley genesis parameter sets
let message_enum = Message::Cardano(( | ||
block_info, | ||
CardanoMessage::GenesisComplete(completion_message), | ||
CardanoMessage::GenesisComplete(GenesisCompleteMessage { | ||
conway_genesis: None |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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