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
Answering #20167 (comment) here.
I don't think it is useful to denote this, imho. Enums need to be used somewhere, and they will be mostly denoted in message added in or field added in.
Rewrite all
// Since
comments in our proto files ascosmos_proto.method_added_in
,cosmos_proto.field_added_in
, etc..Example:
cosmos-sdk/x/bank/proto/cosmos/bank/v1beta1/tx.proto
Lines 35 to 40 in 0cf0c28
cosmos-sdk/x/bank/proto/cosmos/bank/v1beta1/tx.proto
Lines 144 to 147 in 0cf0c28
cosmos-sdk/x/gov/proto/cosmos/gov/v1/query.proto
Lines 170 to 173 in 0cf0c28
Then re-generate all protos (using
make proto-gen
)Troubleshot `make proto-gen`
You may find issues when doing a
buf mod update
in each folder until #19503 is completed. Instead, simply update each relevantbuf.lock
as follows:Follow-up of #20083 and cosmos/cosmos-proto#133
The text was updated successfully, but these errors were encountered: