git.delta.rocks / unique-network / refs/commits / c43adc7e9b45

difftreelog

docs(collator-selection) update CHANGELOG.md

Fahrrader2022-12-29parent: #d18d30e.patch.diff
in: master

4 files changed

modifiedCargo.lockdiffbeforeafterboth
--- 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",
modifiedpallets/collator-selection/CHANGELOG.mddiffbeforeafterboth
--- 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.
+
+<!-- bureaucracy goes here -->
+
+## [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
modifiedpallets/configuration/CHANGELOG.mddiffbeforeafterboth
1# Change Log
2
3All notable changes to this project will be documented in this file.
4
1<!-- bureaucrate goes here -->5<!-- bureaucrate goes here -->
6
7## [0.1.3] - 2022-12-29
8
9### Added
10
11- The ability to configure pallet `collator-selection` via the `configuration` pallet.
12
2## [0.1.2] - 2022-12-1313## [0.1.2] - 2022-12-13
314
4### Added15### Added
modifiedpallets/configuration/Cargo.tomldiffbeforeafterboth
--- 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]