-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: use default app_hash value instead of empty * imp: add app_hash field to testgen Header * fix: cargo fmt * fix: impl custom serde for Option<AppHash> * fix: use serde default for empty app_hash * imp: use unwrap_or_default for None variant of AppHash Co-authored-by: Mikhail Zabaluev <mikhail@informal.systems> * fix: skip serializing if app_hash is None * fix: move away from mix serialization for app_hash * imp: better ser/de impls for Option<AppHash> * Update testgen/src/header.rs Co-authored-by: Mikhail Zabaluev <mikhail@informal.systems> --------- Co-authored-by: Mikhail Zabaluev <mikhail@informal.systems>
- Loading branch information
1 parent
1236a93
commit ff7a864
Showing
3 changed files
with
39 additions
and
15 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/improvements/1343-add-app-hash-field-to-testgen-header.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,3 @@ | ||
- `[tendermint-testgen]` Add `app_hash` field to testgen `Header` and implement | ||
convenient method for default `LightBlock` construction from `Header` | ||
([\#1343](https://github.com/informalsystems/tendermint-rs/issues/1343)) |
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