Skip to content

fix: eth66 serve signature#267

Merged
frisitano merged 90 commits intomainfrom
morty/fix-eth66-serve-signature
Sep 10, 2025
Merged

fix: eth66 serve signature#267
frisitano merged 90 commits intomainfrom
morty/fix-eth66-serve-signature

Conversation

@yiweichi
Copy link
Copy Markdown
Contributor

@yiweichi yiweichi commented Aug 24, 2025

This PR fix the issue reth doesn't include sig during block request, l2geth will fail the block validation of blocks requested from reth.
The solution is that we persist block signature to the database of rollup-node, retrieve and serve it during handling eth66 block request.

Corresponding issue: #261
Corresponding reth PR: scroll-tech/reth#331

Closes: #261
Closes: #248

Copy link
Copy Markdown
Contributor

@jonastheis jonastheis left a comment

Choose a reason for hiding this comment

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

I think the only thing missing is this: #261 (comment)

Comment thread crates/manager/src/manager/mod.rs
Comment thread crates/database/db/src/models/block_signature.rs
@yiweichi yiweichi requested a review from frisitano September 4, 2025 18:49
Copy link
Copy Markdown
Contributor

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

Made some changes in reth and this PR to correctly fetch signatures when serving header responses. Added some additional comments inline.

Comment thread .github/workflows/test.yaml Outdated
Comment thread .github/workflows/test.yaml Outdated
Comment thread crates/database/db/src/db.rs Outdated
Comment thread crates/database/db/src/db.rs Outdated
Comment thread crates/database/db/src/db.rs Outdated
Copy link
Copy Markdown
Contributor

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

lgtm

@frisitano frisitano merged commit f37cea0 into main Sep 10, 2025
13 checks passed
@frisitano frisitano deleted the morty/fix-eth66-serve-signature branch September 10, 2025 05:54
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.

[Network] eth-wire signature [Consensus] Missing header signature for serving to l2geth nodes

4 participants