chore: remove & add since: (#11094)
* remove & add since * add since to gov * add since
This commit is contained in:
+2
-2
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
+6
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user