cosmjs
cosmjs copied to clipboard
deprecated messages and fields
If you turn on this lint:
https://typescript-eslint.io/rules/no-deprecated/
It shows types from cosmjs-types that got marked as deprecated. As a library, not sure how many of them can actually be removed from CosmJS though.
41:49 error `MsgSubmitMisbehaviour` is deprecated @typescript-eslint/no-deprecated
186:132 error `rawLog` is 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 @typescript-eslint/no-deprecated
This is something declared in cosmjs-types (or even Cosmos SDK) which we pass on to the user. So I think it is fair to annotate them with ignores for all the cases where this pops up in CosmJS.