Closed lazam closed 11 months ago
Not sure this makes sense. The MinCandidates
are compared against the candidates + invulnerable
. So, it is totally fine to say that desired_candidates == 1
and having min candidates of 2
and then having an invulnerable of 1
.
Rococo AH is still on v9430, which is before the change from MinCandidates
to MinCollators
, so this should already be sorted by https://github.com/paritytech/cumulus/pull/2801
We encounter the scenario in Rococo Assethub which was initially set to
DesiredCandidates: 1
. You can set theDesiredCandidates
lower thanMinCandidates
but the collator can't be removed due toTooFewCandidates
. It will be better to have a check and reject the call if theDesiredCandidates
<=MinCandidates
.