chore: remove & add since: (#11094)

* remove & add since

* add since to gov

* add since
This commit is contained in:
Marko
2022-02-02 20:36:47 +01:00
committed by GitHub
parent 0efe4c7deb
commit 894969bace
22 changed files with 68 additions and 45 deletions
+2 -2
View File
@@ -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"`
}
+2 -2
View File
@@ -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"`
}
+2
View File
@@ -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
+2
View File
@@ -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
+2
View File
@@ -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
+2 -4
View File
@@ -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
-4
View File
@@ -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)
@@ -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.
+6 -2
View File
@@ -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