Skip to content

Commit

Permalink
Implement proof verification functions for Tendermint client (informa…
Browse files Browse the repository at this point in the history
…lsystems#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
3 people authored Dec 22, 2021
1 parent 3828549 commit e5d655c
Showing 1 changed file with 3 additions and 0 deletions.
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))

0 comments on commit e5d655c

Please sign in to comment.