Sitelet https://github.com/init4tech/builder/pull/228
Skip to content

fix: retry fetching the host block header - #228

Merged
Fraser999 merged 1 commit into
mainfrom
fraser/eng-1938/retry-header-fetch
Feb 25, 2026
Merged

Fraser999 merged 1 commit into
mainfrom
fraser/eng-1938/retry-header-fetch

Conversation

@Fraser999

@Fraser999 Fraser999 commented Feb 25, 2026 •

Copy link
Copy Markdown
Contributor

This adds retries when fetching the host block in the EnvTask.

Without this, a single failure will cause a builder to skip building for a given block. If the host RPC is a little behind the rollup, we have a race condition causing skipped blocks.

I also changed the RPC to fetch just the header rather than the full block.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Fraser999
Fraser999 marked this pull request as ready for review February 25, 2026 18:44

@dylanlott dylanlott left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, let's deploy this to testnet and see if this resolves the timing issue.

@Fraser999
Fraser999 merged commit d33fe66 into main Feb 25, 2026
6 checks passed
@Fraser999
Fraser999 deleted the fraser/eng-1938/retry-header-fetch branch February 25, 2026 21:27
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