Function pallet_session::historical::onchain::store_session_validator_set_to_offchain[][src]

pub fn store_session_validator_set_to_offchain<T: HistoricalConfig + SessionConfig>(
    session_index: SessionIndex
)
Expand description

Store the validator-set associated to the session_index to the off-chain database.

Further processing is then done off-chain side.

Must be called from on-chain, i.e. a call that originates from on_initialize(..) or on_finalization(..). Must be called during the session, which validator-set is to be stored for further off-chain processing. Otherwise the FullIdentification might not be available.