-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom proof specs in config (#1574)
* Impl serde for ics23 proto types * Add proof specs to client state * Get proof specs from chain config * Fix test compilation * Define ProofSpecs domain type using ibc_proto::ics23 types * Minor refactoring * Add attrs for ics23 protos in proto-compiler * Fix clippy errors * Refactor Tendermint to use domain type * Parse config proofspecs as JSON serialized string * Add Default impl for ProofSpecs * Use serde(with) instead of newtype * Get rid of unwraps * Fix failing test * Document proof-specs opt in config * Minor refactoring to match style * Create .changelog entry * Serialilze ProofSpecs as a pretty formatted JSON string * Set serde dep version to '1' * Manually implement conversions b/w ProofSpec protos * Disallow empty proof-specs * Move custom serde serializer to its own module Co-authored-by: Romain Ruetschi <romain@informal.systems>
- Loading branch information
Showing
17 changed files
with
264 additions
and
39 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/features/ibc-relayer/1561-config-proof-specs.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,2 @@ | ||
- Allow custom proof-specs in chain config | ||
([#1561](https://github.com/informalsystems/ibc-rs/issues/1561)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,4 +173,4 @@ fn checkout_tag(repo: &Repository, tag_name: &str) -> Result<(), git2::Error> { | |
} | ||
|
||
Ok(()) | ||
} | ||
} |
Oops, something went wrong.