Implement query spo-stake-distribution
#854
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Context
This PR solves this issue: #850
It currently requires a source stanza sinze it requires on new functionality in
cardano-api
introduced in this PR: IntersectMBO/cardano-api#598DO NOT MERGE: The PR shouldn't be merged before the stanza is not required and removed.
Associated PRs:
cardano-api
: ExposequerySPOStakeDistribution
query cardano-api#598cardano-node
: Add test forquery spo-stake-distribution
cardano-node#5932How to trust this PR
You can check the test in IntersectMBO/cardano-node#5932. I would ensure that documentation is consistent and sensible, and the types for keys are correct.
Checklist