TBD54566975 / tbdex

56 stars 25 forks source link

When should we check protocol version in receiving a new message? #305

Open jiyoontbd opened 5 months ago

jiyoontbd commented 5 months ago

The discussion revolved around whether the protocol version of a Request For Quote (RFQ) in an http-server needs to match the protocol version of the Offering that it corresponds to.

One opinion highlighted that RFQs should validate against the offering's requirements rather than strictly matching protocol versions. It was suggested that a mismatch in protocol versions would not necessarily impede communication between parties, as in some cases, new protocol versions may introduce changes that do not affect RFQs or offerings.

Others suggested that requiring the protocol versions to match could lead to potential issues. For instance, if an offering is operating under an updated protocol but wallets and others are using the older version, then checking for a protocol version match could isolate the offering from existing wallets.

A concern was raised regarding future scenarios where a protocol version update does modify RFQs. A similar situation was anticipated in the near future with the introduction of a "cancel message" feature.