Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat: expose block timestamp in log #2816

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joshstevens19
Copy link
Contributor

Motivation

Tiny PR to expose an optional block timestamp on a log - I know ethers-rs is deprecated, but to migrate to alloy at the moment due to bandwidth is pretty hard to do, and having to fork ethers is a nightmare; this tiny field will unblock fetching this or having to write bespoke get_logs call.

Solution

Added block_timestamp to log struct

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant