From 894969bace71a77d92a84f45db58ee3ca40f4b10 Mon Sep 17 00:00:00 2001 From: Marko Date: Wed, 2 Feb 2022 20:36:47 +0100 Subject: [PATCH] chore: remove & add `since:` (#11094) * remove & add since * add since to gov * add since --- api/cosmos/bank/v1beta1/bank.pulsar.go | 4 ++-- api/cosmos/base/abci/v1beta1/abci.pulsar.go | 4 ++-- api/cosmos/gov/v1beta2/genesis.pulsar.go | 2 ++ api/cosmos/gov/v1beta2/gov.pulsar.go | 2 ++ api/cosmos/gov/v1beta2/query.pulsar.go | 2 ++ api/cosmos/gov/v1beta2/tx.pulsar.go | 6 ++---- api/cosmos/gov/v1beta2/tx_grpc.pb.go | 4 ---- api/cosmos/tx/signing/v1beta1/signing.pulsar.go | 9 +++++++++ api/cosmos/tx/v1beta1/tx.pulsar.go | 8 ++++++-- proto/cosmos/bank/v1beta1/bank.proto | 4 ++-- proto/cosmos/base/abci/v1beta1/abci.proto | 4 ++-- proto/cosmos/gov/v1beta2/genesis.proto | 1 + proto/cosmos/gov/v1beta2/gov.proto | 5 +++-- proto/cosmos/gov/v1beta2/query.proto | 2 ++ proto/cosmos/gov/v1beta2/tx.proto | 13 ++++--------- proto/cosmos/tx/signing/v1beta1/signing.proto | 2 ++ proto/cosmos/tx/v1beta1/tx.proto | 8 ++++++-- types/abci.pb.go | 4 ++-- types/tx/signing/signing.pb.go | 9 +++++++++ types/tx/tx.pb.go | 8 ++++++-- x/bank/types/bank.pb.go | 4 ++-- x/gov/types/v1beta2/tx.pb.go | 8 -------- 22 files changed, 68 insertions(+), 45 deletions(-) diff --git a/api/cosmos/bank/v1beta1/bank.pulsar.go b/api/cosmos/bank/v1beta1/bank.pulsar.go index 2df9d3ba01..bda9176761 100644 --- a/api/cosmos/bank/v1beta1/bank.pulsar.go +++ b/api/cosmos/bank/v1beta1/bank.pulsar.go @@ -4498,12 +4498,12 @@ type Metadata struct { Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` // URI to a document (on or off-chain) that contains additional information. Optional. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 Uri string `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"` // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that // the document didn't change. Optional. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 UriHash string `protobuf:"bytes,8,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"` } diff --git a/api/cosmos/base/abci/v1beta1/abci.pulsar.go b/api/cosmos/base/abci/v1beta1/abci.pulsar.go index 138b3d1ab8..5150d5bfe5 100644 --- a/api/cosmos/base/abci/v1beta1/abci.pulsar.go +++ b/api/cosmos/base/abci/v1beta1/abci.pulsar.go @@ -6907,7 +6907,7 @@ type Result struct { Events []*abci.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // msg_responses contains the Msg handler responses type packed in Anys. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 MsgResponses []*anypb.Any `protobuf:"bytes,4,rep,name=msg_responses,json=msgResponses,proto3" json:"msg_responses,omitempty"` } @@ -7065,7 +7065,7 @@ type TxMsgData struct { Data []*MsgData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // msg_responses contains the Msg handler responses packed into Anys. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 MsgResponses []*anypb.Any `protobuf:"bytes,2,rep,name=msg_responses,json=msgResponses,proto3" json:"msg_responses,omitempty"` } diff --git a/api/cosmos/gov/v1beta2/genesis.pulsar.go b/api/cosmos/gov/v1beta2/genesis.pulsar.go index 71aa2001d9..c41a325fc2 100644 --- a/api/cosmos/gov/v1beta2/genesis.pulsar.go +++ b/api/cosmos/gov/v1beta2/genesis.pulsar.go @@ -1067,6 +1067,8 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { } } +// Since: cosmos-sdk 0.46 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 diff --git a/api/cosmos/gov/v1beta2/gov.pulsar.go b/api/cosmos/gov/v1beta2/gov.pulsar.go index 29fdf8f1ec..9ba585c92c 100644 --- a/api/cosmos/gov/v1beta2/gov.pulsar.go +++ b/api/cosmos/gov/v1beta2/gov.pulsar.go @@ -5055,6 +5055,8 @@ func (x *fastReflection_TallyParams) ProtoMethods() *protoiface.Methods { } } +// Since: cosmos-sdk 0.46 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 diff --git a/api/cosmos/gov/v1beta2/query.pulsar.go b/api/cosmos/gov/v1beta2/query.pulsar.go index 12048f199a..e4802e2d2f 100644 --- a/api/cosmos/gov/v1beta2/query.pulsar.go +++ b/api/cosmos/gov/v1beta2/query.pulsar.go @@ -7808,6 +7808,8 @@ func (x *fastReflection_QueryTallyResultResponse) ProtoMethods() *protoiface.Met } } +// Since: cosmos-sdk 0.46 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 diff --git a/api/cosmos/gov/v1beta2/tx.pulsar.go b/api/cosmos/gov/v1beta2/tx.pulsar.go index 64c0c1b975..a17b471c64 100644 --- a/api/cosmos/gov/v1beta2/tx.pulsar.go +++ b/api/cosmos/gov/v1beta2/tx.pulsar.go @@ -4834,6 +4834,8 @@ func (x *fastReflection_MsgDepositResponse) ProtoMethods() *protoiface.Methods { } } +// Since: cosmos-sdk 0.46 + // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.0 @@ -5099,8 +5101,6 @@ func (*MsgVoteResponse) Descriptor() ([]byte, []int) { } // MsgVoteWeighted defines a message to cast a vote. -// -// Since: cosmos-sdk 0.43 type MsgVoteWeighted struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -5153,8 +5153,6 @@ func (x *MsgVoteWeighted) GetOptions() []*WeightedVoteOption { } // MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. -// -// Since: cosmos-sdk 0.43 type MsgVoteWeightedResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/api/cosmos/gov/v1beta2/tx_grpc.pb.go b/api/cosmos/gov/v1beta2/tx_grpc.pb.go index f3529ba6e9..34041e9d68 100644 --- a/api/cosmos/gov/v1beta2/tx_grpc.pb.go +++ b/api/cosmos/gov/v1beta2/tx_grpc.pb.go @@ -30,8 +30,6 @@ type MsgClient interface { // Vote defines a method to add a vote on a specific proposal. Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) // VoteWeighted defines a method to add a weighted vote on a specific proposal. - // - // Since: cosmos-sdk 0.43 VoteWeighted(ctx context.Context, in *MsgVoteWeighted, opts ...grpc.CallOption) (*MsgVoteWeightedResponse, error) // Deposit defines a method to add deposit on a specific proposal. Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) @@ -102,8 +100,6 @@ type MsgServer interface { // Vote defines a method to add a vote on a specific proposal. Vote(context.Context, *MsgVote) (*MsgVoteResponse, error) // VoteWeighted defines a method to add a weighted vote on a specific proposal. - // - // Since: cosmos-sdk 0.43 VoteWeighted(context.Context, *MsgVoteWeighted) (*MsgVoteWeightedResponse, error) // Deposit defines a method to add deposit on a specific proposal. Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) diff --git a/api/cosmos/tx/signing/v1beta1/signing.pulsar.go b/api/cosmos/tx/signing/v1beta1/signing.pulsar.go index 135a6542db..63aad962ed 100644 --- a/api/cosmos/tx/signing/v1beta1/signing.pulsar.go +++ b/api/cosmos/tx/signing/v1beta1/signing.pulsar.go @@ -2705,6 +2705,13 @@ const ( ) // SignMode represents a signing mode with its own security guarantees. +// +// This enum should be considered a registry of all known sign modes +// in the Cosmos ecosystem. Apps are not expected to support all known +// sign modes. Apps that would like to support custom sign modes are +// encouraged to open a small PR against this file to add a new case +// to this SignMode enum describing their sign mode so that different +// apps have a consistent version of this enum. type SignMode int32 const ( @@ -2722,6 +2729,8 @@ const ( // SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not // require signers signing over other signers' `signer_info`. It also allows // for adding Tips in transactions. + // + // Since: cosmos-sdk 0.46 SignMode_SIGN_MODE_DIRECT_AUX SignMode = 3 // SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses // Amino JSON and will be removed in the future. diff --git a/api/cosmos/tx/v1beta1/tx.pulsar.go b/api/cosmos/tx/v1beta1/tx.pulsar.go index c86873ab7b..d39c5e6efe 100644 --- a/api/cosmos/tx/v1beta1/tx.pulsar.go +++ b/api/cosmos/tx/v1beta1/tx.pulsar.go @@ -8308,6 +8308,8 @@ func (x *SignDoc) GetAccountNumber() uint64 { // SignDocDirectAux is the type used for generating sign bytes for // SIGN_MODE_DIRECT_AUX. +// +// Since: cosmos-sdk 0.46 type SignDocDirectAux struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8498,7 +8500,7 @@ type AuthInfo struct { Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` // Tip is the optional tip used for meta-transactions. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 Tip *Tip `protobuf:"bytes,3,opt,name=tip,proto3" json:"tip,omitempty"` } @@ -8750,6 +8752,8 @@ func (x *Fee) GetGranter() string { } // Tip is the tip used for meta-transactions. +// +// Since: cosmos-sdk 0.46 type Tip struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -8800,7 +8804,7 @@ func (x *Tip) GetTipper() string { // actual tx). AuxSignerData is not a valid tx in itself, and will be rejected // by the node if sent directly as-is. // -// Since: cosmos-sdk 0.45 +// Since: cosmos-sdk 0.46 type AuxSignerData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache diff --git a/proto/cosmos/bank/v1beta1/bank.proto b/proto/cosmos/bank/v1beta1/bank.proto index 84717ffb55..7bc9819d2a 100644 --- a/proto/cosmos/bank/v1beta1/bank.proto +++ b/proto/cosmos/bank/v1beta1/bank.proto @@ -98,11 +98,11 @@ message Metadata { string symbol = 6; // URI to a document (on or off-chain) that contains additional information. Optional. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 string uri = 7 [(gogoproto.customname) = "URI"]; // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that // the document didn't change. Optional. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 string uri_hash = 8 [(gogoproto.customname) = "URIHash"]; } diff --git a/proto/cosmos/base/abci/v1beta1/abci.proto b/proto/cosmos/base/abci/v1beta1/abci.proto index 363942b610..8d780675d5 100644 --- a/proto/cosmos/base/abci/v1beta1/abci.proto +++ b/proto/cosmos/base/abci/v1beta1/abci.proto @@ -104,7 +104,7 @@ message Result { // msg_responses contains the Msg handler responses type packed in Anys. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 repeated google.protobuf.Any msg_responses = 4; } @@ -135,7 +135,7 @@ message TxMsgData { // msg_responses contains the Msg handler responses packed into Anys. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 repeated google.protobuf.Any msg_responses = 2; } diff --git a/proto/cosmos/gov/v1beta2/genesis.proto b/proto/cosmos/gov/v1beta2/genesis.proto index edb68877f4..d7e75603fa 100644 --- a/proto/cosmos/gov/v1beta2/genesis.proto +++ b/proto/cosmos/gov/v1beta2/genesis.proto @@ -1,3 +1,4 @@ +// Since: cosmos-sdk 0.46 syntax = "proto3"; package cosmos.gov.v1beta2; diff --git a/proto/cosmos/gov/v1beta2/gov.proto b/proto/cosmos/gov/v1beta2/gov.proto index 662314de05..c98858defb 100644 --- a/proto/cosmos/gov/v1beta2/gov.proto +++ b/proto/cosmos/gov/v1beta2/gov.proto @@ -1,3 +1,4 @@ +// Since: cosmos-sdk 0.46 syntax = "proto3"; package cosmos.gov.v1beta2; @@ -95,11 +96,11 @@ message Vote { // DepositParams defines the params for deposits on governance proposals. message DepositParams { // Minimum deposit for a proposal to enter voting period. - repeated cosmos.base.v1beta1.Coin min_deposit = 1 [(gogoproto.nullable) = false,(gogoproto.jsontag) = "min_deposit,omitempty"]; + repeated cosmos.base.v1beta1.Coin min_deposit = 1 [(gogoproto.nullable) = false, (gogoproto.jsontag) = "min_deposit,omitempty"]; // Maximum period for Atom holders to deposit on a proposal. Initial value: 2 // months. - google.protobuf.Duration max_deposit_period = 2 [(gogoproto.stdduration) = true,(gogoproto.jsontag) = "max_deposit_period,omitempty"]; + google.protobuf.Duration max_deposit_period = 2 [(gogoproto.stdduration) = true, (gogoproto.jsontag) = "max_deposit_period,omitempty"]; } // VotingParams defines the params for voting on governance proposals. diff --git a/proto/cosmos/gov/v1beta2/query.proto b/proto/cosmos/gov/v1beta2/query.proto index 944a21566f..0e2d474ec7 100644 --- a/proto/cosmos/gov/v1beta2/query.proto +++ b/proto/cosmos/gov/v1beta2/query.proto @@ -1,3 +1,5 @@ + +// Since: cosmos-sdk 0.46 syntax = "proto3"; package cosmos.gov.v1beta2; diff --git a/proto/cosmos/gov/v1beta2/tx.proto b/proto/cosmos/gov/v1beta2/tx.proto index 3013a39ff0..e805a60a42 100644 --- a/proto/cosmos/gov/v1beta2/tx.proto +++ b/proto/cosmos/gov/v1beta2/tx.proto @@ -1,3 +1,4 @@ +// Since: cosmos-sdk 0.46 syntax = "proto3"; package cosmos.gov.v1beta2; @@ -23,8 +24,6 @@ service Msg { rpc Vote(MsgVote) returns (MsgVoteResponse); // VoteWeighted defines a method to add a weighted vote on a specific proposal. - // - // Since: cosmos-sdk 0.43 rpc VoteWeighted(MsgVoteWeighted) returns (MsgVoteWeightedResponse); // Deposit defines a method to add deposit on a specific proposal. @@ -54,9 +53,9 @@ message MsgExecLegacyContent { option (cosmos.msg.v1.signer) = "authority"; // content is the proposal's content. - google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; + google.protobuf.Any content = 1 [(cosmos_proto.accepts_interface) = "Content"]; // authority must be the gov module address. - string authority = 2; + string authority = 2; } // MsgExecLegacyContentResponse defines the Msg/ExecLegacyContent response type. @@ -64,7 +63,7 @@ message MsgExecLegacyContentResponse {} // MsgVote defines a message to cast a vote. message MsgVote { - option (cosmos.msg.v1.signer) = "voter"; + option (cosmos.msg.v1.signer) = "voter"; uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"]; string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; @@ -75,8 +74,6 @@ message MsgVote { message MsgVoteResponse {} // MsgVoteWeighted defines a message to cast a vote. -// -// Since: cosmos-sdk 0.43 message MsgVoteWeighted { option (cosmos.msg.v1.signer) = "voter"; @@ -86,8 +83,6 @@ message MsgVoteWeighted { } // MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. -// -// Since: cosmos-sdk 0.43 message MsgVoteWeightedResponse {} // MsgDeposit defines a message to submit a deposit to an existing proposal. diff --git a/proto/cosmos/tx/signing/v1beta1/signing.proto b/proto/cosmos/tx/signing/v1beta1/signing.proto index 6901b6548c..5a22616fe8 100644 --- a/proto/cosmos/tx/signing/v1beta1/signing.proto +++ b/proto/cosmos/tx/signing/v1beta1/signing.proto @@ -32,6 +32,8 @@ enum SignMode { // SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not // require signers signing over other signers' `signer_info`. It also allows // for adding Tips in transactions. + // + // Since: cosmos-sdk 0.46 SIGN_MODE_DIRECT_AUX = 3; // SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses diff --git a/proto/cosmos/tx/v1beta1/tx.proto b/proto/cosmos/tx/v1beta1/tx.proto index 9954cf7af6..ac7b690f46 100644 --- a/proto/cosmos/tx/v1beta1/tx.proto +++ b/proto/cosmos/tx/v1beta1/tx.proto @@ -66,6 +66,8 @@ message SignDoc { // SignDocDirectAux is the type used for generating sign bytes for // SIGN_MODE_DIRECT_AUX. +// +// Since: cosmos-sdk 0.46 message SignDocDirectAux { // body_bytes is protobuf serialization of a TxBody that matches the // representation in TxRaw. @@ -138,7 +140,7 @@ message AuthInfo { // Tip is the optional tip used for meta-transactions. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 Tip tip = 3; } @@ -215,6 +217,8 @@ message Fee { } // Tip is the tip used for meta-transactions. +// +// Since: cosmos-sdk 0.46 message Tip { // amount is the amount of the tip repeated cosmos.base.v1beta1.Coin amount = 1 @@ -228,7 +232,7 @@ message Tip { // actual tx). AuxSignerData is not a valid tx in itself, and will be rejected // by the node if sent directly as-is. // -// Since: cosmos-sdk 0.45 +// Since: cosmos-sdk 0.46 message AuxSignerData { // address is the bech32-encoded address of the auxiliary signer. If using // AuxSignerData across different chains, the bech32 prefix of the target diff --git a/types/abci.pb.go b/types/abci.pb.go index 12667326df..6d8db55388 100644 --- a/types/abci.pb.go +++ b/types/abci.pb.go @@ -334,7 +334,7 @@ type Result struct { Events []types1.Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events"` // msg_responses contains the Msg handler responses type packed in Anys. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 MsgResponses []*types.Any `protobuf:"bytes,4,rep,name=msg_responses,json=msgResponses,proto3" json:"msg_responses,omitempty"` } @@ -478,7 +478,7 @@ type TxMsgData struct { Data []*MsgData `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // Deprecated: Do not use. // msg_responses contains the Msg handler responses packed into Anys. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 MsgResponses []*types.Any `protobuf:"bytes,2,rep,name=msg_responses,json=msgResponses,proto3" json:"msg_responses,omitempty"` } diff --git a/types/tx/signing/signing.pb.go b/types/tx/signing/signing.pb.go index 41cdf01fcf..32c0630d26 100644 --- a/types/tx/signing/signing.pb.go +++ b/types/tx/signing/signing.pb.go @@ -25,6 +25,13 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // SignMode represents a signing mode with its own security guarantees. +// +// This enum should be considered a registry of all known sign modes +// in the Cosmos ecosystem. Apps are not expected to support all known +// sign modes. Apps that would like to support custom sign modes are +// encouraged to open a small PR against this file to add a new case +// to this SignMode enum describing their sign mode so that different +// apps have a consistent version of this enum. type SignMode int32 const ( @@ -42,6 +49,8 @@ const ( // SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not // require signers signing over other signers' `signer_info`. It also allows // for adding Tips in transactions. + // + // Since: cosmos-sdk 0.46 SignMode_SIGN_MODE_DIRECT_AUX SignMode = 3 // SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses // Amino JSON and will be removed in the future. diff --git a/types/tx/tx.pb.go b/types/tx/tx.pb.go index 974a702130..d16c789811 100644 --- a/types/tx/tx.pb.go +++ b/types/tx/tx.pb.go @@ -247,6 +247,8 @@ func (m *SignDoc) GetAccountNumber() uint64 { // SignDocDirectAux is the type used for generating sign bytes for // SIGN_MODE_DIRECT_AUX. +// +// Since: cosmos-sdk 0.46 type SignDocDirectAux struct { // body_bytes is protobuf serialization of a TxBody that matches the // representation in TxRaw. @@ -451,7 +453,7 @@ type AuthInfo struct { Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"` // Tip is the optional tip used for meta-transactions. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 Tip *Tip `protobuf:"bytes,3,opt,name=tip,proto3" json:"tip,omitempty"` } @@ -853,6 +855,8 @@ func (m *Fee) GetGranter() string { } // Tip is the tip used for meta-transactions. +// +// Since: cosmos-sdk 0.46 type Tip struct { // amount is the amount of the tip Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` @@ -912,7 +916,7 @@ func (m *Tip) GetTipper() string { // actual tx). AuxSignerData is not a valid tx in itself, and will be rejected // by the node if sent directly as-is. // -// Since: cosmos-sdk 0.45 +// Since: cosmos-sdk 0.46 type AuxSignerData struct { // address is the bech32-encoded address of the auxiliary signer. If using // AuxSignerData across different chains, the bech32 prefix of the target diff --git a/x/bank/types/bank.pb.go b/x/bank/types/bank.pb.go index d2239db4b0..93feea1467 100644 --- a/x/bank/types/bank.pb.go +++ b/x/bank/types/bank.pb.go @@ -343,12 +343,12 @@ type Metadata struct { Symbol string `protobuf:"bytes,6,opt,name=symbol,proto3" json:"symbol,omitempty"` // URI to a document (on or off-chain) that contains additional information. Optional. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 URI string `protobuf:"bytes,7,opt,name=uri,proto3" json:"uri,omitempty"` // URIHash is a sha256 hash of a document pointed by URI. It's used to verify that // the document didn't change. Optional. // - // Since: cosmos-sdk 0.45 + // Since: cosmos-sdk 0.46 URIHash string `protobuf:"bytes,8,opt,name=uri_hash,json=uriHash,proto3" json:"uri_hash,omitempty"` } diff --git a/x/gov/types/v1beta2/tx.pb.go b/x/gov/types/v1beta2/tx.pb.go index c88e834411..969617f7ce 100644 --- a/x/gov/types/v1beta2/tx.pb.go +++ b/x/gov/types/v1beta2/tx.pb.go @@ -340,8 +340,6 @@ func (m *MsgVoteResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgVoteResponse proto.InternalMessageInfo // MsgVoteWeighted defines a message to cast a vote. -// -// Since: cosmos-sdk 0.43 type MsgVoteWeighted struct { ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id"` Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"` @@ -403,8 +401,6 @@ func (m *MsgVoteWeighted) GetOptions() []*WeightedVoteOption { } // MsgVoteWeightedResponse defines the Msg/VoteWeighted response type. -// -// Since: cosmos-sdk 0.43 type MsgVoteWeightedResponse struct { } @@ -625,8 +621,6 @@ type MsgClient interface { // Vote defines a method to add a vote on a specific proposal. Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) // VoteWeighted defines a method to add a weighted vote on a specific proposal. - // - // Since: cosmos-sdk 0.43 VoteWeighted(ctx context.Context, in *MsgVoteWeighted, opts ...grpc.CallOption) (*MsgVoteWeightedResponse, error) // Deposit defines a method to add deposit on a specific proposal. Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) @@ -695,8 +689,6 @@ type MsgServer interface { // Vote defines a method to add a vote on a specific proposal. Vote(context.Context, *MsgVote) (*MsgVoteResponse, error) // VoteWeighted defines a method to add a weighted vote on a specific proposal. - // - // Since: cosmos-sdk 0.43 VoteWeighted(context.Context, *MsgVoteWeighted) (*MsgVoteWeightedResponse, error) // Deposit defines a method to add deposit on a specific proposal. Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error)