Open damiannolan opened 1 month ago
Note we can do this pretty easily by creating a time.Time
with time.Unix()
, passing the full prootTimestamp as num nanos, and then calling .Unix()
secsTimestamp := time.Unix(0, proofTimestamp).Unix()
Just to be clear, is this issue about potentially changing the light clients to use seconds instead of nanoseconds? @AdityaSripal
Also, is this a Eureka issue?
We probably will not change the ibc-go light clients directly since we want to still support IBC v1 and minimize changes.
Rather this is about how to convert the nanoseconds from the client to seconds in the v2 handler correctly
Originally posted by @AdityaSripal in https://github.com/cosmos/ibc-go/pull/7464#pullrequestreview-2385153760