code: func GetBytesEnvelope(env *common.Envelope) ([]byte, error) {
  	bytes, err := proto.Marshal(env)
  	return bytes, errors.Wrap(err, "error marshaling Envelope")
  }
docs: // GetBytesEnvelope get the bytes of Envelope from the message