Skip to content

feat(payload): maintain block hash cache across payload builds #22913

@mattsse

Description

@mattsse

Pre-populate revm's State.block_hashes from canonical chain via StateBuilder::with_block_hashes and sync them back after execution. This avoids redundant DB lookups for BLOCKHASH opcodes across repeated payload build attempts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions