2

Just a clarification, suppose that the pallet_session::rotate_session is not able to retrieve the next validation set due to an election failure inside the pallet_staking::new_session function. Is then the current validation set re-used to solve the problem of missing validators? Is it possible also that such failure arise when the election_multi_phase pallet doesn’t complete an offline election process?

1 Answer 1

1

Is then the current validation set re-used to solve the problem of missing validators?

Correct.

Is it possible also that such failure arise when the election_multi_phase pallet doesn’t complete an offline election process?

Yes, and in fact, if type ElectionProvider of pallet_staking::Config is set to an instance of election_multi_phase, then it is election_multi_phase that is first failing, possible in the offline election process, then staking is notified, and the same failure is finally passed down to pallet_sesion on new_session .

1
  • thanks, very helpful
    – mr_bovo
    Oct 25, 2022 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.