830dcc9bba
* docs: Add CLAUDE_RULES.md with strict rebrand protection rules - Define immutable rebrand rules that cannot be violated - Prohibit reverting rebrand for cargo check convenience - Establish checkpoint and audit trail requirements - Document correct error handling approach * refactor: Complete kurdistan-sdk to pezkuwi-sdk rebrand - Update README.md with pezkuwi-sdk branding - Replace all kurdistan-sdk URL references with pezkuwi-sdk - Replace kurdistan-tech with pezkuwichain in workflows - Update email domains from @kurdistan-tech.io to @pezkuwichain.io - Rename tool references: kurdistan-tech-publish → pezkuwi-publish - Update runner names: kurdistan-tech-* → pezkuwichain-* - Update analytics/forum/matrix domains to pezkuwichain.io - Keep 'Kurdistan Tech Institute' as organization name - Keep tech@kurdistan.gov as official government contact
2.4 KiB
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 asUpToLimitDisablingStrategyexcept 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. DisabledValidatorschanged format to include severity of the offence.
[v15]
Added
- New trait
DisablingStrategywhich 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. OffendingValidatorsstorage item is replaced withDisabledValidators. 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 DisableStrategyis 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 aDisablingStrategyimplementation.
v14
Added
- New item
ErasStakersPagedthat keeps up toMaxExposurePageSizeindividual nominator exposures by era, validator and page. - New item
ErasStakersOverviewcomplementary toErasStakersPagedwhich keeps state of own and total stake of the validator across pages. - New item
ClaimedRewardsto support paged rewards payout.
Deprecated
ErasStakersandErasStakersClippedis 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_rewardsin itemLedgeris renamed tolegacy_claimed_rewardsand can be removed after 84 eras.