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 })
|
{ name ; interface ; implementation })
|
||||||
(obj3
|
(obj3
|
||||||
(req "name" string)
|
(req "name" string)
|
||||||
(opt "interface" string)
|
(opt "interface" (conv MBytes.of_string MBytes.to_string bytes))
|
||||||
(req "implementation" string))
|
(req "implementation" (conv MBytes.of_string MBytes.to_string bytes)))
|
||||||
|
|
||||||
let env_version_encoding =
|
let env_version_encoding =
|
||||||
let open Data_encoding in
|
let open Data_encoding in
|
||||||
|
Loading…
Reference in New Issue
Block a user