Rewrite all // Since comments in our proto files as cosmos_proto.method_added_in, cosmos_proto.field_added_in, etc..
Example:
|
// on any number of Denoms. Only the entries to add or update should be |
|
// included. Entries that already exist in the store, but that aren't |
|
// included in this message, will be left unchanged. |
|
// |
|
// Since: cosmos-sdk 0.47 |
|
rpc SetSendEnabled(MsgSetSendEnabled) returns (MsgSetSendEnabledResponse); |
|
// MsgBurnResponse defines the Msg/Burn response type. |
|
// |
|
// Since: cosmos-sdk 0.51 |
|
message MsgBurnResponse {} |
|
// params defines all the parameters of x/gov module. |
|
// |
|
// Since: cosmos-sdk 0.47 |
|
Params params = 4; |
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 relevant buf.lock as follows:
owner: cosmos
repository: cosmos-proto
- commit: 1935555c206d4afb9e94615dfd0fad31
- digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377
+ commit: 04467658e59e44bbb22fe568206e1f70
+ digest: shake256:73a640bd60e0c523b0f8237ff34eab67c45a38b64bbbde1d80224819d272dbf316ac183526bd245f994af6608b025f5130483d0133c5edd385531326b5990466
Follow-up of #20083 and cosmos/cosmos-proto#133
Rewrite all
// Sincecomments 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 updatein each folder until #19503 is completed. Instead, simply update each relevantbuf.lockas follows:owner: cosmos repository: cosmos-proto - commit: 1935555c206d4afb9e94615dfd0fad31 - digest: shake256:c74d91a3ac7ae07d579e90eee33abf9b29664047ac8816500cf22c081fec0d72d62c89ce0bebafc1f6fec7aa5315be72606717740ca95007248425102c365377 + commit: 04467658e59e44bbb22fe568206e1f70 + digest: shake256:73a640bd60e0c523b0f8237ff34eab67c45a38b64bbbde1d80224819d272dbf316ac183526bd245f994af6608b025f5130483d0133c5edd385531326b5990466Follow-up of #20083 and cosmos/cosmos-proto#133