Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make header proof validation optional in addRLPSerializedBlock #604

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

acolytec3
Copy link
Collaborator

@acolytec3 acolytec3 commented Jul 18, 2024

This is a quick follow-on to #603 to make sure we don't break current RPC scripts related to loading blocks locally with addRLPSerializedBlock. This utility is non-standard anyway so not a huge deal but logically inconsistent since we should "never" accept pre-merge headers without a proof anymore. We just don't store all the accumulators locally to be able to construct them on the fly.

A full solution would involve updating the bridge scripts for pre-merge blocks to construct the header proofs and then load them that way.

@acolytec3 acolytec3 merged commit 403db71 into master Jul 18, 2024
3 of 4 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.

1 participant