-
Notifications
You must be signed in to change notification settings - Fork 214
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
Get stake pool data using GetRewardInfoPools query #3195
base: master
Are you sure you want to change the base?
Get stake pool data using GetRewardInfoPools query #3195
Conversation
a34b604
to
0811b14
Compare
bdda343
to
03ea8a5
Compare
0811b14
to
92adb49
Compare
03ea8a5
to
4614b3d
Compare
92adb49
to
83bd65c
Compare
a6f04d7
to
1283ffc
Compare
On Test:
|
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.
Looks good
rewards = view (#metrics . #nonMyopicMemberRewards) . stakePool | ||
(randomWeight, stakePool) = (fst, snd) | ||
rewards :: Api.ApiStakePool -> Quantity "lovelace" Natural | ||
rewards = view (#metrics . #nonMyopicMemberRewards) |
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.
OK so the new ranking formula is implemented but not yet enabled 👍
8e8596a
to
992d3af
Compare
43c94e7
to
7f35885
Compare
Thanks for the review, Rodney! 😊 Unfortunately, as the query (20mins) still takes takes much longer than the previous version (5mins), I'm going to put this pull request back in draft mode, to be tested again with a newer node version. |
… and drop the other local state queries related to rewards. This depends on `cardano-node` version 1.33 or later.
Co-authored-by: Rodney Lorrimar <[email protected]>
7f35885
to
be7fa61
Compare
Issue number
ADP-1361, ADP-1543
Overview
In this pull request, we use the new
GetRewardInfoPools
query to retrieve stake pool data that informs a delegation choice. This data includes:Details
Comments