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

Support for GetWinningBakersEpoch and GetFirstBlockEpoch. #275

Merged
merged 4 commits into from
Aug 21, 2023
Merged

Conversation

td202
Copy link
Contributor

@td202 td202 commented Aug 16, 2023

Purpose

Add raw command support for GetWinningBakersEpoch and GetFirstBlockEpoch.

Changes

  • Parsing for EpochSpecifier common to both queries, which allows specifying the epoch by block hash, or by genesis index and epoch number.
  • Raw support for GetWinningBakersEpoch.
  • Raw support for GetFirstBlockEpoch.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

src/Concordium/Client/Runner.hs Outdated Show resolved Hide resolved
Co-authored-by: Aleš Bizjak <[email protected]>
@td202 td202 merged commit daf68c2 into main Aug 21, 2023
2 checks passed
@td202 td202 deleted the epoch-queries branch August 21, 2023 08:53
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