Skip to content
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

Support for returning current commission rates for a baker pool. #273

Merged
merged 3 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- End stream consumption early if an error is returned.
- Add raw support for `GetBakersRewardPeriod`.
- Add support for `CommissionRates` in `CurrentPaydayBakerPoolStatus`
MilkywayPirate marked this conversation as resolved.
Show resolved Hide resolved

## 6.0.1

Expand Down
1 change: 1 addition & 0 deletions src/Concordium/Client/GRPC2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,7 @@ instance FromProto Proto.PoolCurrentPaydayInfo where
let bpsLotteryPower = cpi ^. ProtoFields.lotteryPower
bpsBakerEquityCapital <- fromProto $ cpi ^. ProtoFields.bakerEquityCapital
bpsDelegatedCapital <- fromProto $ cpi ^. ProtoFields.delegatedCapital
bpsCommissionRates <- fromProto $ cpi ^. ProtoFields.commissionRates
return CurrentPaydayBakerPoolStatus{..}

instance FromProto Proto.PoolInfoResponse where
Expand Down
Loading