Skip to content

Commit ef0d066

Browse files
authored
Deprecate Tendermint 0.34 client (#1891)
1 parent 06c9325 commit ef0d066

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ and this project adheres to
6868
If you are using any of those methods, please comment at
6969
https://github.com/cosmos/cosmjs/issues/1796.
7070

71+
- @cosmjs/tendermint-rpc: Deprecate the Tendermint/CometBFT 0.34 client
72+
(`isTendermint34Client`/`Tendermint34Client` as well as all related types).
73+
This will be removed in the next version of CosmJS:
74+
https://github.com/cosmos/cosmjs/issues/1866
75+
7176
## [0.36.2] - 2025-10-24
7277

7378
### Fixed

packages/tendermint-rpc/src/tendermint34/tendermint34client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ type Encoder<T extends requests.Request> = (req: T) => JsonRpcRequest;
1919
// Decoder is a generic that matches all methods of Responses
2020
type Decoder<T extends responses.Response> = (res: JsonRpcSuccessResponse) => T;
2121

22+
/**
23+
* @deprecated Support for Tendermint/CometBFT 0.34 will be removed in the next version of CosmJS
24+
* (https://github.com/cosmos/cosmjs/issues/1866)
25+
*/
2226
export class Tendermint34Client {
2327
/**
2428
* Creates a new Tendermint client for the given endpoint.

packages/tendermint-rpc/src/tendermintclient.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ export type TendermintClient = Tendermint34Client | Tendermint37Client;
1414
/** A CometClient is either a Tendermint34Client, Tendermint37Client Comet38Client or a Comet1Client */
1515
export type CometClient = Tendermint34Client | Tendermint37Client | Comet38Client | Comet1Client;
1616

17+
/**
18+
* @deprecated Support for Tendermint/CometBFT 0.34 will be removed in the next version of CosmJS
19+
* (https://github.com/cosmos/cosmjs/issues/1866)
20+
*/
1721
export function isTendermint34Client(client: CometClient): client is Tendermint34Client {
1822
return client instanceof Tendermint34Client;
1923
}

0 commit comments

Comments
 (0)