Skip to content

Commit

Permalink
fix(tendermint): Make FinalizeBlock::validator_updates nullable whe…
Browse files Browse the repository at this point in the history
…n deserializing (#1428)
  • Loading branch information
ec2 committed May 29, 2024
1 parent ec37ad2 commit 9697006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- `[tendermint]` Fix `FinalizeBlock::validator_updates` deserialization as `nullable` ([\#1428](https://github.com/informalsystems/tendermint-rs/pull/1428))
1 change: 1 addition & 0 deletions tendermint/src/abci/response/finalize_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pub struct FinalizeBlock {
pub tx_results: Vec<ExecTxResult>,
/// A list of updates to the validator set.
/// These will reflect the validator set at current height + 2.
#[serde(with = "serializers::nullable")]
pub validator_updates: Vec<validator::Update>,
/// Updates to the consensus params, if any.
#[serde(default)]
Expand Down

0 comments on commit 9697006

Please sign in to comment.