witnet-rust icon indicating copy to clipboard operation
witnet-rust copied to clipboard

Remove optional label in witnet.proto field

Open drcpu-github opened this issue 1 year ago • 0 comments

There is an optional field in witnet.proto which should not be necessary as all fields are optional by default. Rustc 1.77 even refuses to build this:

witnet.proto:304:14: Explicit 'optional' labels are disallowed in the Proto3 syntax. To define 'optional' fields in Proto3, simply remove the 'optional' label, as fields are 'optional' by default.
...

drcpu-github avatar Mar 22 '24 19:03 drcpu-github