KILTprotocol / kilt-node

KILT blockchain node

Home Page:https://kilt.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot leave delagator after associated collator has left the network

sudipghimire533 opened this issue · comments

reproduce

  • Join a collator C in network through parachainStaking.joinCandidtae
  • Delegate amount X over collator C
  • Leave the collator C through parachainStaking.initLeaveCandidate ( and wait )

Expected

All the delegators who delegated in C will get their amount back as freeBalance or delegator should be able to call initLeaveDelegator to get the amount back

Actual

Delegators amount is not returned when a candidateLeaves the network neither can delegator can call initLeaveDelegator afterwards

Where did you see this initLeaveDelegator call?

As a delegator you call leaveDelegators when you want to stop delegating. In case your collator left, this is already done for everyone who delegated to that collator.
As a delegator you only need to unlock your coins after 7 Days.