Skip to content

feat: add blockTimestamp to Log type#4157

Merged
jxom merged 1 commit intomainfrom
feat/log-block-timestamp
Dec 15, 2025
Merged

feat: add blockTimestamp to Log type#4157
jxom merged 1 commit intomainfrom
feat/log-block-timestamp

Conversation

@jxom
Copy link
Copy Markdown
Member

@jxom jxom commented Dec 15, 2025

Adds blockTimestamp to the Log type as it is now part of the official JSON-RPC spec (ethereum/execution-apis#639).

Changes:

  • Added blockTimestamp field to Log type (nullable for pending logs)
  • Updated formatLog to convert hex to bigint
  • Added test coverage

Closes #4146

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Dec 15, 2025

🦋 Changeset detected

Latest commit: 9afc445

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jxom jxom merged commit 8105d1e into main Dec 15, 2025
19 of 32 checks passed
@jxom jxom deleted the feat/log-block-timestamp branch December 15, 2025 03:05
@github-actions github-actions bot mentioned this pull request Dec 15, 2025
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.

blockTimestamp not available on Log

1 participant