RPC: Use bytes
for source files encoding in protocol updates
This commit is contained in:
parent
bc9179094f
commit
d3f4424c75
@ -34,8 +34,8 @@ let component_encoding =
|
||||
{ name ; interface ; implementation })
|
||||
(obj3
|
||||
(req "name" string)
|
||||
(opt "interface" string)
|
||||
(req "implementation" string))
|
||||
(opt "interface" (conv MBytes.of_string MBytes.to_string bytes))
|
||||
(req "implementation" (conv MBytes.of_string MBytes.to_string bytes)))
|
||||
|
||||
let env_version_encoding =
|
||||
let open Data_encoding in
|
||||
|
Loading…
Reference in New Issue
Block a user