Skip to content

chore: use Default::default() for TransactionInfo for forward compatibility#21454

Merged
mattsse merged 1 commit into
mainfrom
feat/alloy-timestamp
Jan 26, 2026
Merged

chore: use Default::default() for TransactionInfo for forward compatibility#21454
mattsse merged 1 commit into
mainfrom
feat/alloy-timestamp

Conversation

@mattsse
Copy link
Copy Markdown
Collaborator

@mattsse mattsse commented Jan 26, 2026

Prepares for alloy adding a block_timestamp field to TransactionInfo.

This PR uses ..Default::default() pattern when constructing TransactionInfo to ensure forward compatibility when new fields are added.

Patches

Related: ethereum/execution-apis#729

@github-project-automation github-project-automation Bot moved this to Backlog in Reth Tracker Jan 26, 2026
@mattsse mattsse force-pushed the feat/alloy-timestamp branch 2 times, most recently from e817cfb to 7110723 Compare January 26, 2026 21:55
@github-project-automation github-project-automation Bot moved this from Backlog to In Progress in Reth Tracker Jan 26, 2026
…TransactionInfo

Uses `..Default::default()` pattern when constructing `TransactionInfo` to ensure forward compatibility when new fields are added.

Bumps revm-inspectors to 0.34.1 which includes the same forward-compat fix.

Related: ethereum/execution-apis#729
Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019bfc1a-6448-779a-b74a-8b8e53a73680
@mattsse mattsse force-pushed the feat/alloy-timestamp branch from 7110723 to 7df49bd Compare January 26, 2026 22:07
@mattsse mattsse enabled auto-merge January 26, 2026 22:07
@mattsse mattsse added this pull request to the merge queue Jan 26, 2026
Merged via the queue into main with commit 26a37f3 Jan 26, 2026
45 checks passed
@mattsse mattsse deleted the feat/alloy-timestamp branch January 26, 2026 22:26
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Reth Tracker Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants