Closed oskarth closed 3 years ago
I'd like to point out also that 2 implementations of the noise
spec are using proto3
Not strictly connected to this issue but to not forget, keep track and investigate.
Closed in https://github.com/libp2p/specs/pull/282
Problem
Protobuf2 and 3 are different protocols with different semantics. From reading the specs, it is not obvious which version is used. The same is true looking at the docs site https://docs.libp2p.io/concepts/protocols/
Looking at e.g. https://github.com/libp2p/go-libp2p/blob/master/p2p/protocol/identify/pb/identify.proto#L1 one can infer that protobuf2 is used.
Potential solutions
syntax = "proto2";
could be added to every protobuf field in lineAs an example, at Status we specify
proto3
in the main spec once: https://specs.status.im/spec/1#protobufNotes and related links