You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FAB-2030] Fix protos with uppercase abbreviations
https://jira.hyperledger.org/browse/FAB-2030
According to the proto style guide, fields should be lower_underscored
which generally converts nicely to golang as LowerUnderscored. However,
for certain cases, like chaincode_id, this converts to ChaincodeId
rather than as desired to ChaincodeID. This change updates the
problematic fields to use the correct proto style, and updates the
golang to expect the appropriate (although odd) output.
Note, per the proto devs, golang/protobuf#53
there is no intent to modify the protoc generation to attempt to produce
upper case ID API, etc.
Still, the odd golang results seem worth following the style guide.
Note, this CR also changes chainID to channel_id as these lines were
already being affected and a community apparently came to a decision
that the world channel is preferable to the word chain.
https://jira.hyperledger.org/browse/FAB-2033
Change-Id: I9c5ebab88fc8d7f45335c904a56676c55a467e5d
Signed-off-by: Jason Yellick <[email protected]>
0 commit comments