fn get_last_block_prev_session<CIP>(
    session_boundaries: SessionBoundaries,
    chain_info: &mut CIP
) -> BlockId
where CIP: ChainInfoProvider,