- description: |
Exposed `querySPOStakeDistribution` query
type:
- feature # introduces a new feature
Context
We want to provide a governance query for stake distribution of stake pools to the cardano-cli (see this issue), so we need to be able to do the query through the cardano-api. This PR does just that, it exposes the new query.
I think the fact that it compiles is pretty telling. But maybe ensure that there is nothing missing to export, that it doesn't have any typos or so. And it is is quite based on the similar query for drepss, so it is not difficult that I failed to change replace some of the DRep mentions, stay alert for those (I did double-check myself though).
Checklist
[x] Commit sequence broadly makes sense and commits have useful messages
[x] New tests are added if needed and existing tests are updated. See Running tests for more details
Changelog
Context
We want to provide a governance query for stake distribution of stake pools to the
cardano-cli
(see this issue), so we need to be able to do the query through thecardano-api
. This PR does just that, it exposes the new query.Associated PRs:
cardano-cli
: https://github.com/IntersectMBO/cardano-cli/pull/854cardano-node
: https://github.com/IntersectMBO/cardano-node/pull/5932How to trust this PR
I think the fact that it compiles is pretty telling. But maybe ensure that there is nothing missing to export, that it doesn't have any typos or so. And it is is quite based on the similar query for
dreps
s, so it is not difficult that I failed to change replace some of the DRep mentions, stay alert for those (I did double-check myself though).Checklist