Skip to content

feat: validate blocks while building E2HS file#1808

Merged
KolbyML merged 1 commit into
ethereum:masterfrom
KolbyML:prove-e2hs-as-we-generate-it
May 6, 2025
Merged

feat: validate blocks while building E2HS file#1808
KolbyML merged 1 commit into
ethereum:masterfrom
KolbyML:prove-e2hs-as-we-generate-it

Conversation

@KolbyML
Copy link
Copy Markdown
Member

@KolbyML KolbyML commented May 6, 2025

What was wrong?

Building E2HS files is time consuming. There isn't a good way for the bridge to validate post-capella headers due to the E2HS bridge not having access to a provider. We want to know sooner then later if a E2HS file is valid or not.

How was it fixed?

Validate the block, use the latest HistoricalSummaries if avaliable, if HistoricalSummaries aren't avaliable there are no post capella headers to prove so there is no issue.

@KolbyML KolbyML requested a review from morph-dev May 6, 2025 08:34
@KolbyML KolbyML self-assigned this May 6, 2025
Copy link
Copy Markdown
Collaborator

@morph-dev morph-dev left a comment

Choose a reason for hiding this comment

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

🚢

It would be good if you would locally verify that this works for fork boundary e2hs files.

@KolbyML
Copy link
Copy Markdown
Member Author

KolbyML commented May 6, 2025

I tested the fork boundry for capellia and it worked

@KolbyML KolbyML merged commit 8baa9a1 into ethereum:master May 6, 2025
14 checks passed
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