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 optionalsuspend
flag.BakerEvent
has new cases forBakerSuspended
andBakerResumed
when the flag is set in a
ConfigureBaker
transaction.SpecialTransactionOutcome
has new cases forValidatorSuspended
and
ValidatorPrimedForSuspension
, which occur when a validator is (or potentially will be)
suspended.- New
UpdatePayload
typeValidatorScoreParametersCPV3
, which updates the maximum number of
consecutive failures a validator can have before it faces suspension. NextUpdateSequenceNumbers
: addvalidator_score_parameters
.
ContractInitializedEvent
adds theparameter
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.