tendermint / spn

A blockchain to launch blockchains.
Other
112 stars 41 forks source link

Replace Unix timestamps with `Duration` or `Time` #913

Closed lumtis closed 2 years ago

lumtis commented 2 years ago

Is your feature request related to a problem? Please describe. We used Unix timestamps initially to represent timestamps, then we switched to Duration as in the participation module.

Unix timestamps are still used in many places like launchTimestamp for the chain.

We should use Duration and Time everywhere as it is more powerful and allow better code readability