Skip to content

concordium-rust-sdk 3.1.0

Compare
Choose a tag to compare

Summary

Add support for node version 6.1 API and a number of utility functions.

Changes

  • Add a commission_rates field to CurrentPaydayBakerPoolStatus which yields the commission rates
    of the baker for the reward period. Requires a node version at least 6.1.
  • Add support for GetWinningBakersEpoch. Requires a node version at least 6.1.
  • Add Support for GetFirstBlockEpoch. Requires a node version at least 6.1.
  • Add support for GetBakersRewardPeriod endpoint. Requires a node version at least 6.1.
  • Add Support for GetBakerEarliestWinTime endpoint. Requires a node version at least 6.1.
  • Add support for GetBlockCertificates. Requires a node version at least 6.1.
  • Add make_update and make_update_raw methods to the ContractClient. They
    are like update and update_raw but instead of sending a transaction they
    only construct it and return it.
  • Add make_register_credential, make_revoke_credential_as_issuer and
    make_revoke_credential_other to the CIS4 client. These are like the methods
    without the make_ prefix, except that they only construct the transaction,
    they do not send it.
  • Add make_transfer and make_update_operator functions to the CIS2 client.
    These are like the methods without the make_, except that they only
    construct the transaction.
  • Update minimum supported rust version to 1.66.