From d7a23bc7dd275e2b7e64f16a3e89943dbf47642c Mon Sep 17 00:00:00 2001 From: kevin Heifner Date: Wed, 25 Mar 2026 07:40:22 -0500 Subject: [PATCH] Update block_timestamp epoch to match wire-sysio (Jan 1, 2025) wire-sysio changed block_timestamp_epoch from 946684800000 (Y2K) to 1735689600000 (Jan 1, 2025) in commit b2d8793f27. Update the C++ block_timestamp struct to use the new epoch so native abieos deserialization produces correct timestamps. --- include/sysio/time.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sysio/time.hpp b/include/sysio/time.hpp index fbad30f..457e0c2 100644 --- a/include/sysio/time.hpp +++ b/include/sysio/time.hpp @@ -227,7 +227,7 @@ class block_timestamp { bool operator!=(const block_timestamp& t) const { return slot != t.slot; } uint32_t slot = 0; static constexpr int32_t block_interval_ms = 500; - static constexpr int64_t block_timestamp_epoch = 946684800000ll; // epoch is year 2000 + static constexpr int64_t block_timestamp_epoch = 1735689600000ll; // epoch is year 2025 /// @endcond private: void set_time_point(const time_point& t) {