-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement proof verification functions for Tendermint client (#1583)
* proof verification functions * fix counterparty in ConnectionOpenAck * verify delay * verify height * Revert "verify height" This reverts commit 4735aa7. * Impl verify_height() * Revert changes to ics23 types * Update mock impl to use new ClientDef API with height * Clippy happy * Modify ClientDef API * Implement max_expected_time_per_block() * Fix mock build * Refactor verify_delay_passed() * Move get_block_delay() into ChannelReader trait as provided method * Remove usages of std:: * Fix clippy errors * Add keeper methods for processed time and height * Set processed time using host_timestamp() * Add new ICS02 error variant InvalidCommitmentProof * Augment packet delay errors * Revert to old naming of errors for client upgrade proofs * Rename processed_{time,height}() * Apply suggestions from code review Co-authored-by: Adi Seredinschi <adizere@gmail.com> * Record height in processed height/time errors * Fix clippy errors * Add changelog entry Co-authored-by: Shoaib Ahmed <sufialhussaini@gmail.com> Co-authored-by: Adi Seredinschi <adizere@gmail.com>
- Loading branch information
1 parent
43ceb42
commit fd4e413
Showing
36 changed files
with
924 additions
and
200 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
.changelog/unreleased/features/ibc/1583-module-verification-ICS07.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 @@ | ||
- Implement proof verification for Tendermint client (ICS07). | ||
([#1583](https://github.com/informalsystems/ibc-rs/pull/1583)) | ||
|
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.