ICS-4: Acknowledgement Envelope
is misleading
#918
Labels
improvement
Improvement or enhancement to make specs more comprehensible
tao
Transport, authentication, & ordering layer.
The section states:
This suggests that the protobuf encoding of this message is used. However, in ICS-20 and ICS-721,
suggesting that apps don't even use that Acknowledgement Envelope as described in ICS-4.
In my opinion, it would be less confusing if we
Acknowledgement
format in JSON directly.Note that as stated, the ICS-20/721 statement is incomplete. "JSON-encoded" doesn't imply "encode byte arrays with base64"; this is a by-product of the JSON-encoding proto3 spec (which took me some time to figure out). It is also implied that the JSON must have all spaces removed (implicitly done by
MustSortJSON()
). Specifying the format in JSON directly would remove any sort of confusion.The text was updated successfully, but these errors were encountered: