Skip to content

Conversation

Wollac
Copy link
Contributor

@Wollac Wollac commented Aug 4, 2025

This PR introduces an unsafe-pre-merge feature flag to allow proving pre-merge (Proof-of-Work) blocks.

By default, reth-stateless does not correctly validate all difficulty constraints for these blocks, making the proofs unsound. This feature disables the default post-merge block check, enabling users to generate proofs for historical blocks at their own risk.

The feature is propagated from the zeth-host crate down to the guest binary to ensure consistent validation logic between the host and zkVM.

@Wollac Wollac changed the title put pre-merge behind feature feat: Add unsafe-pre-merge feature for pre-merge blocks Aug 4, 2025
@Wollac Wollac marked this pull request as ready for review August 4, 2025 18:31
@Wollac Wollac merged commit a98b6f2 into main Aug 5, 2025
2 checks passed
@Wollac Wollac deleted the wollac/fix/unsafe-pre-merge branch August 5, 2025 11:55
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