cosmjs icon indicating copy to clipboard operation
cosmjs copied to clipboard

deprecated messages and fields

Open dynst opened this issue 5 months ago • 1 comments

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

dynst avatar Aug 01 '25 17:08 dynst

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.

webmaster128 avatar Oct 07 '25 14:10 webmaster128