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

Replace usage of QueryGenesisParameters by one that only fetches KES parameters #4551

Conversation

bartfrenk
Copy link

@bartfrenk bartfrenk commented Oct 23, 2022

This PR is a proposal to remove usage of the bulky QueryGenesisParameters query from ouroboros-network, by a new, lighter query, GetKESConfig. As I see it, merging this PR would have the following benefit of reducing the interface between cardano-node and ouroboros-consensus.

The PR that introduces the GetKESConfig query in ouroboros-consensus is IntersectMBO/ouroboros-network#4156.

Also, there is probably additional cleaning up to do, e.g., removing parts of Cardano.Api.GenesisParameters. Again, I have postponed doing that until green light.

@github-actions
Copy link

github-actions bot commented Jan 3, 2023

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale label Jan 3, 2023
}


data KESConfig = KESConfig {
Copy link
Contributor

Choose a reason for hiding this comment

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

This information is obtainable via the kes-period-info command.

@Jimbo4350
Copy link
Contributor

Closing. See #4551 (comment)

@Jimbo4350 Jimbo4350 closed this Jan 3, 2023
@bartfrenk bartfrenk reopened this Jan 4, 2023
@github-actions github-actions bot removed the Stale label Jan 10, 2023
@nfrisby nfrisby changed the title Replace usage of QueryGenesisParameters by on that only fetches KES parameters Replace usage of QueryGenesisParameters by one that only fetches KES parameters Jan 18, 2023
@bartfrenk bartfrenk closed this May 3, 2023
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