Skip to content

Commit

Permalink
Update #1193 changelog about RPC client builders
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Mar 1, 2023
1 parent 84d9cad commit 7d9572c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
No compatibility with 0.34 is provided at the moment.
([#1193](https://github.com/informalsystems/tendermint-rs/pull/1193))
- [`tendermint-rpc`] Changed the signature of `WebSocketClient::new_with_config`
and the public `WebSocketConfig` type of its parameter: instead of being
a re-export from tungstenite, it's a struct defined in this crate and
featuring a compatibility mode parameter.
to accept a `WebSocketConfig` struct value rather than an `Option`.
([#1193](https://github.com/informalsystems/tendermint-rs/pull/1193))
- [`tendermint-proto`] The `serializers::evidence` module has been made private.
([#1193](https://github.com/informalsystems/tendermint-rs/pull/1193))
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
- [`tendermint`] Protobuf conversions provided for both `v0_34` and `v0_37`
versions of the generated [`tendermint-proto`] structs, where applicable.
([#1193](https://github.com/informalsystems/tendermint-rs/pull/1193)).
- [`tendermint-rpc`] Introduce protocol compatibility modes specifying the
RPC data encoding used by the client. An `HttpClient` can be created with
a selected mode specified as a field in `HttpConfig`, or have the mode
changed afterwards (usually after version discovery) by the added
`set_compat_mode` method.
`WebSocketClient` can only be created with `CompatMode` specified in the added
`new_with_config` constructor, accepting a new `WebSocketConfig` struct.
- [`tendermint-rpc`] Introduce `client::CompatMode`, enumerating protocol
compatibility modes specifying the RPC data encoding used by the client.
An `HttpClient` can be created with a selected mode specified in the new
`builder` API, or have the mode changed afterwards (usually after
version discovery) by the added `set_compat_mode` method.
For `WebSocketClient`, the mode can only be specified at creation via the new
`builder` API.
([#1193](https://github.com/informalsystems/tendermint-rs/pull/1193))
- [`tendermint-abci`] Port ABCI application support to 0.37 Tendermint Core API.
No legacy support for 0.34 is provided at the moment.
Expand Down

0 comments on commit 7d9572c

Please sign in to comment.