cosmos / ibc-rs

Rust implementation of the Inter-Blockchain Communication (IBC) protocol.
Apache License 2.0
197 stars 79 forks source link

imp(ibc)!: refactor `Timestamp` type and distinguish timeout timestamp #1307

Closed Farhad-Shabani closed 1 month ago

Farhad-Shabani commented 1 month ago

Closes: #180 Closes: #1296 Closes: #1306

Description

This PR introduces following improvements:

PR author checklist:

Reviewer checklist:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 76.13636% with 63 lines in your changes missing coverage. Please review.

Project coverage is 67.07%. Comparing base (7e39192) to head (ac1ec73).

Files Patch % Lines
ibc-primitives/src/types/timestamp.rs 76.98% 29 Missing :warning:
...-core/ics04-channel/types/src/timeout/timestamp.rs 80.00% 13 Missing :warning:
ibc-clients/ics07-tendermint/types/src/header.rs 0.00% 6 Missing :warning:
ibc-testkit/src/hosts/tendermint.rs 50.00% 6 Missing :warning:
ibc-core/ics04-channel/types/src/events/mod.rs 20.00% 4 Missing :warning:
ibc-apps/ics20-transfer/types/src/msgs/transfer.rs 0.00% 2 Missing :warning:
...pps/ics721-nft-transfer/types/src/msgs/transfer.rs 0.00% 2 Missing :warning:
ibc-core/ics04-channel/types/src/timeout/height.rs 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1307 +/- ## ========================================== - Coverage 67.08% 67.07% -0.01% ========================================== Files 226 227 +1 Lines 23336 23383 +47 ========================================== + Hits 15654 15685 +31 - Misses 7682 7698 +16 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.