-
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
Light mode: fetch reward account balances #3231
Conversation
77654c5
to
a1f83f0
Compare
… it to encode reward address.
acc2649
to
abb7825
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.
Thanks! 😊
handleBlockfrostError . fmap Map.fromList $ | ||
for (Set.toList accounts) $ \rewardAccount -> do | ||
BF.AccountInfo {..} <- liftBlockfrost $ BF.getAccount $ | ||
BF.mkAddress $ encodeStakeAddress @nd rewardAccount |
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 much better. I hope that this is correct now, but there is little we can do besides a manual test and perhaps a second look that we do indeed have unit tests for deodeStakeAddress
and encodeStakeAddress
bors r+ |
3231: Light mode: fetch reward account balances r=Unisay a=Unisay ### Issue Number ADP-1422, ADP-1506 ### Overview [Light-mode][] (Epic ADP-1422) aims to make synchronisation to the blockchain faster by trusting an off-chain source of aggregated blockchain data. [light-mode]: https://input-output-hk.github.io/cardano-wallet/design/specs/light-mode In this pull request, I have implemented two functions of the `NetworkLayer` interface: - getCachedRewardAccountBalance - fetchRewardAccountBalances Co-authored-by: Yuriy Lazaryev <yuriy.lazaryev@iohk.io>
Build failed: Build Timed Out |
bors r+ |
Build succeeded: |
Issue Number
ADP-1422, ADP-1506
Overview
Light-mode (Epic ADP-1422) aims to make synchronisation to the blockchain faster by trusting an off-chain source of aggregated blockchain data.
In this pull request, I have implemented two functions of the
NetworkLayer
interface: