code: func GetBytesChaincodeProposalPayload(cpp *peer.ChaincodeProposalPayload) ([]byte, error) {
  	cppBytes, err := proto.Marshal(cpp)
  	return cppBytes, errors.Wrap(err, "error marshaling ChaincodeProposalPayload")
  }
docs: // GetBytesChaincodeProposalPayload gets the chaincode proposal payload