Skip to content

Commit

Permalink
chore: fix deprecation annotations (#17784)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored Sep 18, 2023
1 parent d40a708 commit ddcb37c
Show file tree
Hide file tree
Showing 8 changed files with 725 additions and 715 deletions.
8 changes: 4 additions & 4 deletions api/cosmos/tx/v1beta1/service.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/cosmos/base/tendermint/v1beta1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions proto/cosmos/tx/v1beta1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion simapp/params/amino.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion simapp/params/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
8 changes: 4 additions & 4 deletions types/tx/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ddcb37c

Please sign in to comment.