   (clj->proto [this]
     (-> (Configtx$ConfigValue/newBuilder)
         (.setVersion version)
-        (.setValue value)
+        (.setValue (with-default-empty-byte-string [value]
+                     value))
         (.setModPolicy mod-policy)
         (.build))))
 

  (clj->proto [this]
    (-> (Configtx$ConfigGroup/newBuilder)
        (.setVersion version)
        (.putAllGroups groups)
        (.putAllValues values)
        (.putAllPolicies policies)
        (.setModPolicy mod-policy)
        (.build))))

(defn make-config-group
  [& {:keys [version groups values poilices mod-policy]}]
  (map->ConfigGroup {:version version :groups groups :values values
                     :poilices poilices :mod-policy mod-policy}))

(defrecord ConfigUpdate [channel-id read-set write-set type isolated-data]
  ICljToProto

        (.build))))

(defn make-config-update
  [& {:keys [channel-id read-set write-set type isolated-data]
      :or {isolated-data {}}}]
  (map->ConfigUpdate {:channel-id channel-id :read-set read-set
                      :write-set write-set :type type
                      :isolated-data isolated-data}))
