Skip to content

concordium-rust-sdk 6.0.0

Latest
Compare
Choose a tag to compare
@td202 td202 released this 03 Feb 13:50
a777ba9

Summary

This release supports the upcoming Concordium node 8.x release and Concordium Protocol Version 8, which introduces (automatic) suspension of inactive validators.

Changes

  • Add functionality for generating, and verifying account signatures.
  • Support for protocol version 8 functionality:
    • ConfigureBakerPayload supports the optional suspend flag.
    • BakerEvent has new cases for BakerSuspended and BakerResumed when the flag is set in a
      ConfigureBaker transaction.
    • SpecialTransactionOutcome has new cases for ValidatorSuspended and
      ValidatorPrimedForSuspension, which occur when a validator is (or potentially will be)
      suspended.
    • New UpdatePayload type ValidatorScoreParametersCPV3, which updates the maximum number of
      consecutive failures a validator can have before it faces suspension.
    • NextUpdateSequenceNumbers: add validator_score_parameters.
  • ContractInitializedEvent adds the parameter used to initialize the contract (supported from
    node version >= 8).
  • New functionality for querying which accounts have scheduled releases or cooldowns (supported
    from node version >= 8):
    • get_scheduled_release_accounts: Get the accounts (by index) with scheduled releases, and the
      timestamp of the first release.
    • get_cooldown_accounts: Get the accounts (by index) with stake in cooldown, and the timestamp
      at which the first cooldown expires.
    • get_pre_cooldown_accounts: Get the accounts (by index) with stake in pre-cooldown.
    • get_pre_pre_cooldown_accounts: Get the accounts (by index) with stake in pre-pre-cooldown.
  • New get_consensus_detailed_status query for getting internal state information from the
    consensus. Supported from node version >= 8.