-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add governance action deposits to the output of `query stake-address-info #1032
Conversation
2c01812
to
cbdbb30
Compare
cc @gitmachtl if you want to have a look at the new output |
@smelc so the keynames are different in the output for different eras? -> @CarlosLopezDeLara so the entries for the |
If you use
However, if you run the query behaves as it was in babbage:
babbage (and previous) era commands will be deprecated soon, so I don't think we need to makae any changes for babbage era.
This is a good one. It can be
Not in this PR. That will come in another PR.
Yes, the query looks into the live proposals, searches for the reward account, if it finds the credential in the query, it
|
|
efebdb4
to
c463b7b
Compare
Updating to cardano-api-10.7.0.0 requires https://github.com/IntersectMBO/cardano-cli/pull/1020and then rebased. |
bb99dd8
to
9405f7e
Compare
Add governance action deposits to stake-address-info query Bump to cardano-api 10.8
9405f7e
to
b8e2793
Compare
Command running on mainnet, commit b8e2793 :
|
{ rewards :: DelegationsAndRewards | ||
, deposits :: Map StakeAddress Lovelace | ||
, delegatees :: Map StakeAddress (L.DRep L.StandardCrypto) | ||
, -- \| deposits: the stake address registration deposit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
registration*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you clarify?
Changelog
Context
Resolves #954
Requires IntersectMBO/cardano-api#730
How to trust this PR
The query now includes a map of (GovActionIds, Deposit) assocoated to the stake address:
or empty if it is not associated to any
BABBAGE: With the latest chantes the query still works in Babbage era:
Checklist