-
Notifications
You must be signed in to change notification settings - Fork 217
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
Shelley get reward account balance #1752
Conversation
4b20e94
to
cdc3687
Compare
b1e8bfc
to
496919f
Compare
496919f
to
12cd04e
Compare
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.
great job! just make the test pending before we can run it, also change Delegations
type alias a little bit using the type aliases from cardano-api (as we use them below):
type ShelleyCredentialStaking = Shelley.Credential Shelley.Staking Shelley.TPraosStandardCrypto
type ShelleyVerificationKeyHashStakePool = Shelley.KeyHash Shelley.StakePool Shelley.TPraosStandardCrypto
(https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/Types.hs#L144 and https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/Types.hs#L153)
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.
lgtm
a418222
to
b8e57e4
Compare
bors r+ |
Build succeeded |
|
||
action | ||
NetworkLayer | ||
{ currentNodeTip = liftIO $ _currentNodeTip nodeTipVar | ||
, nextBlocks = _nextBlocks | ||
, initCursor = _initCursor | ||
, initCursor = _initCursor queryRewardQ |
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.
Wait, why is queryRewardQ
both read from by the shared connectDelegationRewardsClient
and each wallet client? That seems odd. Shouldn't queryRewardQ
only be handled by the shared client?
trying removing it on my branch
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.
Oops. I meant to remove that.
1757: Shelley network: remove queryRewardQ from wallet client r=rvl a=rvl ### Issue Number ADP-302 / #1750 ### Overview Review comment: #1752 (comment) Co-authored-by: Rodney Lorrimar <[email protected]>
Issue Number
ADP-302 / #1750
Overview
Adds implementation of network layer
getAccountBalance
for shelley.Comments
The integration test is not passing because stake pools are not connected with the test cluster network.