From c43adc7e9b453585361fddf425dd3d7f58b57703 Mon Sep 17 00:00:00 2001 From: Fahrrader Date: Thu, 29 Dec 2022 10:10:42 +0000 Subject: [PATCH] docs(collator-selection): update CHANGELOG.md --- --- a/Cargo.lock +++ b/Cargo.lock @@ -5843,7 +5843,7 @@ [[package]] name = "pallet-configuration" -version = "0.1.2" +version = "0.1.3" dependencies = [ "fp-evm", "frame-benchmarking", --- a/pallets/collator-selection/CHANGELOG.md +++ b/pallets/collator-selection/CHANGELOG.md @@ -1,5 +1,25 @@ -## [3.0.0] - 2022-10-28 +# Change Log + +All notable changes to this project will be documented in this file. + + + +## [4.0.0] - 2022-12-29 ### Added - - Entire functionality moved over from cumulus/pallet-collator-selection (v3.0.0). \ No newline at end of file +- Entire functionality moved over from cumulus/pallet-collator-selection (v3.0.0). Refactored business logic: + - Added an extra step for candidacy, `get_license`, at which payment happens. The number of license holders is unlimited. + - Only licensed accounts can apply for candidacy with `onboard`. No extra deposits are made. + - Active candidates may `offboard`, but they will retain their license. + - Deposit is returned, and candidacy possibly removed with `release_license`. + - License can be forcibly forfeited and candidacy removed with `force_release_license`. + - Failing collators' deposits will now be fully slashed, and funds will be redirected to Treasury. + - Unify `MaxInvulnerables` and `MaxCandidates` into `MaxCollators`. + - Remove `MinCandidates`. + - Minimal amount of invulnerables is now 1. + - Both invulnerables and candidates count against the limits together, however invulnerables ignore `DesiredCollators`. + - `KickThreshold` is made configurable. + - `DesiredCollators`, `LicenseBond`, and `KickThreshold` are moved to and referenced from `pallet-configuration`. + - Naming changes to better reflect the new functionality. + - More minor changes, tests, benchmarks, etc. \ No newline at end of file --- a/pallets/configuration/CHANGELOG.md +++ b/pallets/configuration/CHANGELOG.md @@ -1,4 +1,15 @@ +# Change Log + +All notable changes to this project will be documented in this file. + + +## [0.1.3] - 2022-12-29 + +### Added + +- The ability to configure pallet `collator-selection` via the `configuration` pallet. + ## [0.1.2] - 2022-12-13 ### Added --- a/pallets/configuration/Cargo.toml +++ b/pallets/configuration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-configuration" -version = "0.1.2" +version = "0.1.3" edition = "2021" [dependencies] -- gitstuff