Skip to content

Fix block_timestamp epoch to Jan 1, 2025#9

Merged
bearcubsvet merged 1 commit into
masterfrom
fix/block-timestamp-epoch
Mar 25, 2026
Merged

Fix block_timestamp epoch to Jan 1, 2025#9
bearcubsvet merged 1 commit into
masterfrom
fix/block-timestamp-epoch

Conversation

@heifner

@heifner heifner commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update block_timestamp_epoch in time.hpp from 946684800000 (Jan 1, 2000) to 1735689600000 (Jan 1, 2025)
  • Aligns with wire-sysio commit b2d8793f27 which changed the epoch

Context

The native abieos C++ deserializer used by Hyperion (via node-abieos) was producing timestamps off by 25 years due to the stale epoch constant.

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.
@heifner
heifner requested a review from bearcubsvet March 25, 2026 12:41
@bearcubsvet
bearcubsvet merged commit 4f76f0c into master Mar 25, 2026
0 of 14 checks passed
@heifner
heifner deleted the fix/block-timestamp-epoch branch March 25, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants