Files
pezkuwi-sdk/bizinikiwi/pezframe/staking/CHANGELOG.md
T
pezkuwichain 3139ffa25e fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs)
- pallet/ directories → pezpallet/ (4 locations)
- Fixed pezpallet.rs self-include recursion bug
- Fixed sc-chain-spec hardcoded crate name in derive macro
- Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API)
- Added BizinikiwiConfig type alias for zombienet tests
- Deleted obsolete session state files

Verified: pezsnowbridge-pezpallet-*, pezpallet-staking,
pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
2025-12-16 09:57:23 +03:00

2.4 KiB

Changelog

All notable changes and migrations to pezpallet-staking will be documented in this file.

The format is loosely based on Keep a Changelog. We maintain a single integer version number for staking pezpallet to keep track of all storage migrations.

[v16]

Added

  • New default implementation of DisablingStrategy - UpToLimitWithReEnablingDisablingStrategy. Same as UpToLimitDisablingStrategy except when a limit (1/3 default) is reached. When limit is reached the offender is only disabled if his offence is greater or equal than some other already disabled offender. The smallest possible offender is re-enabled to make space for the new greater offender. A limit should thus always be respected.
  • DisabledValidators changed format to include severity of the offence.

[v15]

Added

  • New trait DisablingStrategy which is responsible for making a decision which offenders should be disabled on new offence.
  • Default implementation of DisablingStrategy - UpToLimitDisablingStrategy. It disables each new offender up to a threshold (1/3 by default). Offenders are not runtime disabled for offences in previous era(s). But they will be low-priority node-side disabled for dispute initiation.
  • OffendingValidators storage item is replaced with DisabledValidators. The former keeps all offenders and if they are disabled or not. The latter just keeps a list of all offenders as they are disabled by default.

Deprecated

  • enum DisableStrategy is no longer needed because disabling is not related to the type of the offence anymore. A decision if a offender is disabled or not is made by a DisablingStrategy implementation.

v14

Added

  • New item ErasStakersPaged that keeps up to MaxExposurePageSize individual nominator exposures by era, validator and page.
  • New item ErasStakersOverview complementary to ErasStakersPaged which keeps state of own and total stake of the validator across pages.
  • New item ClaimedRewards to support paged rewards payout.

Deprecated

  • ErasStakers and ErasStakersClipped is deprecated, will not be used any longer for the exposures of the new era post v14 and can be removed after 84 eras once all the exposures are stale.
  • Field claimed_rewards in item Ledger is renamed to legacy_claimed_rewards and can be removed after 84 eras.