IntersectMBO / cardano-cli

This repository contains sources for the command-line interface (CLI) tool for interacting with the Cardano blockchain.
Apache License 2.0
39 stars 14 forks source link

Implement `query spo-stake-distribution` #854

Closed palas closed 1 month ago

palas commented 1 month ago

Changelog

- description: |
    Add `query spo-stake-distribution` command to obtain stake distribution for SPOs
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature

Context

This PR solves this issue: https://github.com/IntersectMBO/cardano-cli/issues/850

It currently requires a source stanza sinze it requires on new functionality in cardano-api introduced in this PR: https://github.com/IntersectMBO/cardano-api/pull/598

DO NOT MERGE: The PR shouldn't be merged before the stanza is not required and removed.

Associated PRs:

How to trust this PR

You can check the test in https://github.com/IntersectMBO/cardano-node/pull/5932. I would ensure that documentation is consistent and sensible, and the types for keys are correct.

Checklist