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

Include KES metrics in cardano #1505

Merged
merged 3 commits into from
Jul 21, 2020
Merged

Conversation

kantp
Copy link
Contributor

@kantp kantp commented Jul 20, 2020

This changes the HasKESMetricsData instance for the Cardano protocol, to include the KES metrics from Shelley.

Still need confirmation from @disassembler that it actually has the desired effect on #1448

It was ignoring the KES data from Shelley previously, leading to #1448.
Using a patch in `ouroboros-network` that exports a function that we need to
access the Shelley ForgeState from a Cardano block.
Copy link
Contributor

@intricate intricate left a comment

Choose a reason for hiding this comment

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

LGTM, but let's await confirmation from @disassembler

cardano-node/src/Cardano/Node/Protocol/Cardano.hs Outdated Show resolved Hide resolved
Copy link
Contributor

@edsko edsko left a comment

Choose a reason for hiding this comment

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

LGTM. Also, TIL:

instance forall c. HasKESMetricsData (CardanoBlock c) where

I never knew that that syntax was possible 😬

Co-authored-by: Luke <19835357+intricate@users.noreply.github.com>
@kantp kantp force-pushed the philipp/kes-metrics-in-cardano branch from 4f70e2e to f8d73db Compare July 21, 2020 12:44
@kantp
Copy link
Contributor Author

kantp commented Jul 21, 2020

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jul 21, 2020

@iohk-bors iohk-bors bot merged commit 8ff120b into master Jul 21, 2020
@iohk-bors iohk-bors bot deleted the philipp/kes-metrics-in-cardano branch July 21, 2020 13:08
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.

3 participants