-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom proof specs in config #1574
Merged
+264
−39
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
d15f6a2
Impl serde for ics23 proto types
hu55a1n1 bd9ff26
Add proof specs to client state
hu55a1n1 6750982
Get proof specs from chain config
hu55a1n1 ee32e66
Fix test compilation
hu55a1n1 f0fd102
Define ProofSpecs domain type using ibc_proto::ics23 types
hu55a1n1 67c8991
Minor refactoring
hu55a1n1 623e766
Add attrs for ics23 protos in proto-compiler
hu55a1n1 d55f57c
Fix clippy errors
hu55a1n1 f98cf85
Refactor Tendermint to use domain type
hu55a1n1 2c109ed
Parse config proofspecs as JSON serialized string
hu55a1n1 3873c11
Add Default impl for ProofSpecs
hu55a1n1 c7aaa03
Use serde(with) instead of newtype
hu55a1n1 e4b8ea3
Get rid of unwraps
hu55a1n1 4ab7308
Fix failing test
hu55a1n1 0822feb
Document proof-specs opt in config
hu55a1n1 1803828
Minor refactoring to match style
hu55a1n1 9347949
Create .changelog entry
hu55a1n1 0b9a709
Serialilze ProofSpecs as a pretty formatted JSON string
hu55a1n1 a72ab39
Set serde dep version to '1'
hu55a1n1 12a46a4
Manually implement conversions b/w ProofSpec protos
hu55a1n1 a229708
Disallow empty proof-specs
hu55a1n1 450992f
Merge branch 'master' into hu55a1n1/1561-custom-proof-specs
hu55a1n1 9ab79a1
Move custom serde serializer to its own module
romac File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a more operator-friendly manner to specify this? I tried to give an alternative suggestion in #1630 .