diff --git a/ChangeLog.md b/ChangeLog.md index 47623a3b..584f1726 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,6 +5,7 @@ - End stream consumption early if an error is returned. - Add raw support for `GetBakersRewardPeriod`. - Add raw support for `GetBlockCertificates`. +- Add support for `CommissionRates` in `CurrentPaydayBakerPoolStatus` (Only available for node versions > 6.0). ## 6.0.1 diff --git a/deps/concordium-base b/deps/concordium-base index 90a4b139..e6f14c4d 160000 --- a/deps/concordium-base +++ b/deps/concordium-base @@ -1 +1 @@ -Subproject commit 90a4b1391121282a8aa01844aea7e5f4b625a55b +Subproject commit e6f14c4d6c75cf8cbb6df56f18b8469e05bf8f65 diff --git a/src/Concordium/Client/GRPC2.hs b/src/Concordium/Client/GRPC2.hs index 848f519f..d4b7f315 100644 --- a/src/Concordium/Client/GRPC2.hs +++ b/src/Concordium/Client/GRPC2.hs @@ -930,6 +930,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