Skip to content

Commit

Permalink
Merge pull request #1514 from cosmos/deprecate-rawLog
Browse files Browse the repository at this point in the history
Deprecate IndexedTx.rawLog and DeliverTxResponse.rawLog
  • Loading branch information
webmaster128 committed Nov 22, 2023
2 parents 6e6e475 + bf0ec62 commit 2dc388f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ and this project adheres to
`TendermintClient`.
- @cosmjs/stargate: Deprecate `SigningStargateClient.sendIbcTokens`. Please use
`signAndBroadcast` + `MsgTransferEncodeObject` instead. ([#1493])
- @cosmjs/stargate: Deprecate `IndexedTx.rawLog` and `DeliverTxResponse.rawLog`
because those fields are unset from Cosmos SDK 0.50 onwards (see
[here](https://github.com/cosmos/cosmos-sdk/pull/15845)).

[#1493]: https://github.com/cosmos/cosmjs/issues/1493

Expand Down
6 changes: 6 additions & 0 deletions packages/stargate/src/stargateclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export interface IndexedTx {
* This currently seems to merge attributes of multiple events into one event per type
* (https://github.com/tendermint/tendermint/issues/9595). You might want to use the `events`
* field instead.
*
* @deprecated This field is not filled anymore in Cosmos SDK 0.50+ (https://github.com/cosmos/cosmos-sdk/pull/15845).
* Please consider using `events` instead.
*/
readonly rawLog: string;
/**
Expand Down Expand Up @@ -118,6 +121,9 @@ export interface DeliverTxResponse {
* This currently seems to merge attributes of multiple events into one event per type
* (https://github.com/tendermint/tendermint/issues/9595). You might want to use the `events`
* field instead.
*
* @deprecated This field is not filled anymore in Cosmos SDK 0.50+ (https://github.com/cosmos/cosmos-sdk/pull/15845).
* Please consider using `events` instead.
*/
readonly rawLog?: string;
/** @deprecated Use `msgResponses` instead. */
Expand Down

0 comments on commit 2dc388f

Please sign in to comment.