chore: fix deprecation annotations (#17784)
This commit is contained in:
parent
d40a708868
commit
ddcb37cbd7
@ -9082,7 +9082,7 @@ type BroadcastMode int32
|
||||
const (
|
||||
// zero-value for mode ordering
|
||||
BroadcastMode_BROADCAST_MODE_UNSPECIFIED BroadcastMode = 0
|
||||
// DEPRECATED: use BROADCAST_MODE_SYNC instead,
|
||||
// Deprecated: use BROADCAST_MODE_SYNC instead,
|
||||
// BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
@ -9146,13 +9146,13 @@ type GetTxsEventRequest struct {
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// events is the list of transaction event type.
|
||||
// Deprecated post v0.47.x: use query instead, which should contain a valid
|
||||
// Deprecated: post v0.47.x use query instead, which should contain a valid
|
||||
// events query.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
Events []string `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
|
||||
// pagination defines a pagination for the request.
|
||||
// Deprecated post v0.46.x: use page and limit instead.
|
||||
// Deprecated: post v0.46.x use page and limit instead.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
@ -9246,7 +9246,7 @@ type GetTxsEventResponse struct {
|
||||
// tx_responses is the list of queried TxResponses.
|
||||
TxResponses []*v1beta11.TxResponse `protobuf:"bytes,2,rep,name=tx_responses,json=txResponses,proto3" json:"tx_responses,omitempty"`
|
||||
// pagination defines a pagination for the response.
|
||||
// Deprecated post v0.46.x: use total instead.
|
||||
// Deprecated: post v0.46.x use total instead.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
Pagination *v1beta1.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
|
||||
@ -177,7 +177,7 @@ message ABCIQueryRequest {
|
||||
// Tendermint.
|
||||
message ABCIQueryResponse {
|
||||
uint32 code = 1;
|
||||
// DEPRECATED: use "value" instead
|
||||
// Deprecated: use "value" instead
|
||||
reserved 2;
|
||||
string log = 3; // nondeterministic
|
||||
string info = 4; // nondeterministic
|
||||
|
||||
@ -82,12 +82,12 @@ service Service {
|
||||
// RPC method.
|
||||
message GetTxsEventRequest {
|
||||
// events is the list of transaction event type.
|
||||
// Deprecated post v0.47.x: use query instead, which should contain a valid
|
||||
// Deprecated: post v0.47.x use query instead, which should contain a valid
|
||||
// events query.
|
||||
repeated string events = 1 [deprecated = true];
|
||||
|
||||
// pagination defines a pagination for the request.
|
||||
// Deprecated post v0.46.x: use page and limit instead.
|
||||
// Deprecated: post v0.46.x use page and limit instead.
|
||||
cosmos.base.query.v1beta1.PageRequest pagination = 2 [deprecated = true];
|
||||
|
||||
OrderBy order_by = 3;
|
||||
@ -126,7 +126,7 @@ message GetTxsEventResponse {
|
||||
// tx_responses is the list of queried TxResponses.
|
||||
repeated cosmos.base.abci.v1beta1.TxResponse tx_responses = 2;
|
||||
// pagination defines a pagination for the response.
|
||||
// Deprecated post v0.46.x: use total instead.
|
||||
// Deprecated: post v0.46.x use total instead.
|
||||
cosmos.base.query.v1beta1.PageResponse pagination = 3 [deprecated = true];
|
||||
// total is total number of results available
|
||||
uint64 total = 4;
|
||||
@ -145,7 +145,7 @@ message BroadcastTxRequest {
|
||||
enum BroadcastMode {
|
||||
// zero-value for mode ordering
|
||||
BROADCAST_MODE_UNSPECIFIED = 0;
|
||||
// DEPRECATED: use BROADCAST_MODE_SYNC instead,
|
||||
// Deprecated: use BROADCAST_MODE_SYNC instead,
|
||||
// BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
|
||||
BROADCAST_MODE_BLOCK = 1 [deprecated = true];
|
||||
// BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits
|
||||
|
||||
@ -12,7 +12,7 @@ import (
|
||||
// MakeTestEncodingConfig creates an EncodingConfig for an amino based test configuration.
|
||||
// This function should be used only internally (in the SDK).
|
||||
// App user should'nt create new codecs - use the app.AppCodec instead.
|
||||
// [DEPRECATED]
|
||||
// Deprecated:
|
||||
func MakeTestEncodingConfig() EncodingConfig {
|
||||
cdc := codec.NewLegacyAmino()
|
||||
interfaceRegistry := types.NewInterfaceRegistry()
|
||||
|
||||
@ -12,7 +12,7 @@ import (
|
||||
// MakeTestEncodingConfig creates an EncodingConfig for a non-amino based test configuration.
|
||||
// This function should be used only internally (in the SDK).
|
||||
// App user should'nt create new codecs - use the app.AppCodec instead.
|
||||
// [DEPRECATED]
|
||||
// Deprecated:
|
||||
func MakeTestEncodingConfig() EncodingConfig {
|
||||
cdc := codec.NewLegacyAmino()
|
||||
interfaceRegistry := types.NewInterfaceRegistry()
|
||||
|
||||
@ -71,7 +71,7 @@ type BroadcastMode int32
|
||||
const (
|
||||
// zero-value for mode ordering
|
||||
BroadcastMode_BROADCAST_MODE_UNSPECIFIED BroadcastMode = 0
|
||||
// DEPRECATED: use BROADCAST_MODE_SYNC instead,
|
||||
// Deprecated: use BROADCAST_MODE_SYNC instead,
|
||||
// BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
|
||||
BroadcastMode_BROADCAST_MODE_BLOCK BroadcastMode = 1 // Deprecated: Do not use.
|
||||
// BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits
|
||||
@ -108,11 +108,11 @@ func (BroadcastMode) EnumDescriptor() ([]byte, []int) {
|
||||
// RPC method.
|
||||
type GetTxsEventRequest struct {
|
||||
// events is the list of transaction event type.
|
||||
// Deprecated post v0.47.x: use query instead, which should contain a valid
|
||||
// Deprecated: post v0.47.x use query instead, which should contain a valid
|
||||
// events query.
|
||||
Events []string `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // Deprecated: Do not use.
|
||||
// pagination defines a pagination for the request.
|
||||
// Deprecated post v0.46.x: use page and limit instead.
|
||||
// Deprecated: post v0.46.x use page and limit instead.
|
||||
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // Deprecated: Do not use.
|
||||
OrderBy OrderBy `protobuf:"varint,3,opt,name=order_by,json=orderBy,proto3,enum=cosmos.tx.v1beta1.OrderBy" json:"order_by,omitempty"`
|
||||
// page is the page number to query, starts at 1. If not provided, will
|
||||
@ -213,7 +213,7 @@ type GetTxsEventResponse struct {
|
||||
// tx_responses is the list of queried TxResponses.
|
||||
TxResponses []*types.TxResponse `protobuf:"bytes,2,rep,name=tx_responses,json=txResponses,proto3" json:"tx_responses,omitempty"`
|
||||
// pagination defines a pagination for the response.
|
||||
// Deprecated post v0.46.x: use total instead.
|
||||
// Deprecated: post v0.46.x use total instead.
|
||||
Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // Deprecated: Do not use.
|
||||
// total is total number of results available
|
||||
Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -63,7 +63,7 @@ message ABitOfEverything {
|
||||
}
|
||||
|
||||
message Duration {
|
||||
google.protobuf.Duration duration = 1;
|
||||
google.protobuf.Duration duration = 1;
|
||||
google.protobuf.Timestamp timestamp = 2;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user