code: func CreateDeployProposalFromCDS(
  	chainID string,
  	cds *peer.ChaincodeDeploymentSpec,
  	creator []byte,
  	policy []byte,
  	escc []byte,
  	vscc []byte,
  	collectionConfig []byte) (*peer.Proposal, string, error) {
  	if collectionConfig == nil {
  		return createProposalFromCDS(chainID, cds, creator, "deploy", policy, escc, vscc)
  	}
  	return createProposalFromCDS(chainID, cds, creator, "deploy", policy, escc, vscc, collectionConfig)
  }
docs: // CreateDeployProposalFromCDS returns a deploy proposal given a serialized
  // identity and a ChaincodeDeploymentSpec