Merge pull request #1514 from cosmos/deprecate-rawLog

Deprecate IndexedTx.rawLog and DeliverTxResponse.rawLog
This commit is contained in:
Simon Warta
2023-11-22 12:55:45 +01:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -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
+6
View File
@@ -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;
/**
@@ -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. */