Skip to content

Conversation

@figtracer
Copy link
Contributor

@figtracer figtracer commented Nov 27, 2025

this PR adds a new get_block_headers(from, to) method to the storage layer for bulk fetching block headers, mirroring the existing get_block_bodies(from, to) method. the gas tip estimator now uses both bulk methods instead of fetching headers and bodies one-by-one.

@figtracer
Copy link
Contributor Author

considering adding a method that combines both get_block_headersand get_block_bodies but i think this is good

@figtracer figtracer marked this pull request as ready for review November 27, 2025 12:24
@figtracer figtracer requested a review from a team as a code owner November 27, 2025 12:24
Copy link
Collaborator

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put the fix in a separate PR?

@figtracer figtracer force-pushed the refactor_gas_tip_estimator branch from 4f6500a to 06aa14c Compare November 27, 2025 17:46
@figtracer
Copy link
Contributor Author

@MegaRedHand for sure! #5444

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