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 all commits
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 @@ -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

Expand Down
2 changes: 1 addition & 1 deletion deps/concordium-base
Submodule concordium-base updated 32 files
+1 −1 concordium-base.cabal
+1 −1 concordium-grpc-api
+1 −1 haskell-src/Concordium/Crypto/BlsSignature.hs
+2 −1 haskell-src/Concordium/GRPC2.hs
+3 −1 haskell-src/Concordium/Types/Queries.hs
+5 −4 haskell-src/Concordium/Types/Queries/KonsensusV1.hs
+1 −0 rust-src/concordium_base/CHANGELOG.md
+1 −1 rust-src/concordium_base/Cargo.toml
+4 −4 rust-src/concordium_base/benches/aggr_dlog_commit_message.rs
+1 −1 rust-src/concordium_base/src/aggregate_sig/mod.rs
+14 −7 rust-src/concordium_base/src/eddsa_ed25519/dlog_ed25519.rs
+28 −28 rust-src/concordium_base/src/encrypted_transfers/proofs/dlogaggequal.rs
+10 −10 rust-src/concordium_base/src/encrypted_transfers/proofs/dlogeq.rs
+59 −58 rust-src/concordium_base/src/encrypted_transfers/proofs/enc_trans.rs
+2 −2 rust-src/concordium_base/src/encrypted_transfers/types.rs
+17 −17 rust-src/concordium_base/src/id/account_holder.rs
+19 −16 rust-src/concordium_base/src/id/chain.rs
+2 −2 rust-src/concordium_base/src/id/id_proof_types.rs
+31 −31 rust-src/concordium_base/src/id/identity_provider.rs
+31 −30 rust-src/concordium_base/src/id/sigma_protocols/aggregate_dlog.rs
+26 −24 rust-src/concordium_base/src/id/sigma_protocols/com_enc_eq.rs
+25 −23 rust-src/concordium_base/src/id/sigma_protocols/com_eq.rs
+25 −25 rust-src/concordium_base/src/id/sigma_protocols/com_eq_different_groups.rs
+45 −45 rust-src/concordium_base/src/id/sigma_protocols/com_eq_sig.rs
+24 −24 rust-src/concordium_base/src/id/sigma_protocols/com_ineq.rs
+16 −15 rust-src/concordium_base/src/id/sigma_protocols/com_lin.rs
+22 −21 rust-src/concordium_base/src/id/sigma_protocols/com_mult.rs
+85 −75 rust-src/concordium_base/src/id/sigma_protocols/common.rs
+29 −28 rust-src/concordium_base/src/id/sigma_protocols/dlog.rs
+20 −19 rust-src/concordium_base/src/id/sigma_protocols/vcom_eq.rs
+23 −23 rust-src/concordium_base/src/id/types.rs
+3 −1 rust-src/concordium_base/src/id/utils.rs
1 change: 1 addition & 0 deletions src/Concordium/Client/GRPC2.hs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
import Concordium.Types.Block (AbsoluteBlockHeight (..))
import Concordium.Types.Execution
import qualified Concordium.Types.InvokeContract as InvokeContract
import qualified Concordium.Types.KonsensusV1 as KonsensusV1

Check failure on line 72 in src/Concordium/Client/GRPC2.hs

View workflow job for this annotation

GitHub Actions / concordium-client-build-and-test

Could not find module ‘Concordium.Types.KonsensusV1’
import qualified Concordium.Types.Parameters as Parameters
import Concordium.Types.Queries
import qualified Concordium.Types.Transactions as Transactions
Expand Down Expand Up @@ -930,6 +930,7 @@
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