-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
99 changed files
with
8,754 additions
and
591 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
.changelog/unreleased/breaking-changes/1317-cometbft-rpc-0.38.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
- `[tendermint-rpc]` Changes to support the RPC protocol in CometBFT 0.38 | ||
([\#1317](https://github.com/informalsystems/tendermint-rs/pull/1317)): | ||
* Add `finalize_block_results` and `app_hash` fields to | ||
`endpoint::block_results::Response`. | ||
* The `deliver_tx` field is renamed to `tx_result` in | ||
`endpoint::broadcast::tx_commit::Response`. | ||
* The `tx_result` field type changed to `ExecTxResult` in | ||
`endpoint::tx::Response`. | ||
* The `event::EventData::NewBlock` variant is renamed to `LegacyNewBlock`. | ||
The new `NewBlock` variant only carries fields relevant since CometBFT 0.38. | ||
* Removed `event::DialectEvent`, replaced with `event::v0_34::DialectEvent` | ||
and `event::latest::DialectEvent` as non-generic serialization helpers. | ||
The latter handles the fields added in CometBFT 0.38, `block_id` and | ||
`result_finalize_block`. Same refactoring done for `DialectEventData` | ||
and other types used in the event data structures. | ||
* Changed some of the serialization dialect helpers only be | ||
used by the 0.34 dialect and remove generics. The current dialect's | ||
seralization is switched to the serde impls on the domain types in | ||
`tendermint`. | ||
- `[tendermint]` Changes to support the RPC protocol in CometBFT 0.38 | ||
([\#1317](https://github.com/informalsystems/tendermint-rs/pull/1317)): | ||
* Due to some attribute changes, the format emitted by `Serialize` is | ||
changed for `abci::response` types `CheckTx` and `FinalizeBlock`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- `[tendermint-rpc]` Support for CometBFT 0.38 | ||
([\#1317](https://github.com/informalsystems/tendermint-rs/pull/1317)): | ||
* `Deserialize` implementations on `abci::Event`, `abci::EventAttribute` | ||
that correspond to the current RPC serialization. | ||
* Domain types under `abci::response` also get `Deserialize` implementations | ||
corresponding to the current RPC serialization. | ||
* `Serialize`, `Deserialize` implementations on `abci::types::ExecTxResult` | ||
corresponding to the current RPC serialization. | ||
* Added the `apphash_base64` serializer module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.