Closed acatangiu closed 6 days ago
Hey @acatangiu , thanks for this issue. I'm confused with this sentence only rank0->rank1 has 0 min period.
Is it that all rank 1 members has index 0, so all rank 1 members have a min promotion period 0?
Ah, sorry. I understand, the rank to be calculated should be to_rank
, not the rank that the member to be promoted is currently at.
Context
https://github.com/polkadot-fellows/Evidences/pull/24#discussion_r1650748569
fellowshipCore.params: PalletCoreFellowshipParamsType
storage:Code for target rank converted to index converted to period -> only rank0->rank1 has
0
min period.Issue
Subsquare UI is incorrectly showing
Promotion Period: 100%
for all current Rank 1 members.E.g. member with less than 1 year in rank 1:![Screenshot 2024-06-24 at 14 11 45](https://github.com/opensquare-network/subsquare/assets/31917973/6e2a8e1a-5015-4367-9257-8862bb06775b)