code: func GetBytesChaincodeEvent(event *peer.ChaincodeEvent) ([]byte, error) {
  	eventBytes, err := proto.Marshal(event)
  	return eventBytes, errors.Wrap(err, "error marshaling ChaincodeEvent")
  }
docs: // GetBytesChaincodeEvent gets the bytes of ChaincodeEvent