cosmos / ibc-rs

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

Improve compatibility between tendermint-rs's `Time` and ibc-rs's `Timestamp` types #1323

Closed seanchen1991 closed 6 days ago

seanchen1991 commented 1 month ago

Feature Summary

Following the work done in #1307, ibc-rs's Timestamp type no longer relies upon tendermint-rs's Time type. Both of these types now co-exist, each one wrapping a private PrimitiveDateTime. For better interoperability between these co-existing types, at least one of them should expose the underlying PrimitiveDateTime type.

Proposal

There are multiple avenues for how compatibility between these two types can be improved: