Stop Collating
To stop collating and leave the candidate pool, you must first schedule a request to leave the pool. Scheduling a request does not automatically remove you from the candidate pool, you must wait an exit delay (84 rounds). After the delay you will be able to execute the request and stop collating. While you are waiting the specified number of rounds, you will still be eligible to produce blocks and earn rewards if you're in the active set.
Schedule Request to Leave Candidates
To get started and schedule a request, navigate to the Developer tab, click on Extrinsics, and take the following steps:
Select your candidate account
Select parachainStaking pallet under the submit the following extrinsic menu
Select the scheduleLeaveCandidates extrinsic
Enter the
candidateCount
which you should have retrieved in the Get the Size of the Candidate Pool sectionSubmit the transaction. Follow the wizard and sign the transaction using the password you set for the account
Execute Request to Leave Candidates
After the waiting period has passed, you'll be able to execute the request. To execute the request to leave the candidate pool, you'll first need to obtain the number of delegations the candidate has. To do so, you can query the candidate information, which will include the delegation count. To get started, click on the Developer tab, select Chain state, and take the following steps:
From the selected state query dropdown, choose parachainStaking
Select the candidateInfo extrinsic
Choose the candidate account to get the information for
Click the + button to submit the extrinsic
Copy the
delegationCount
to be used for executing the leave candidates request
Important Step: Check and wait until the number in round `current` larger than your candidate 'leaving' number, then you can execute the following step below, otherwise, it will fail.
Now that you have the delegation count you can execute the request. Switch back to the Extrinsics tab and follow these steps:
Select your candidate account
Select parachainStaking pallet under the submit the following extrinsic menu
Select the executeLeaveCandidates extrinsic
Select the target candidate account (anyone can execute the request after the exit delay has passed after submitting the
scheduleLeaveCandidates
extrinsic)Enter the candidate's delegation count
Submit the transaction. Follow the wizard and sign the transaction using the password you set for the account
Last updated