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

Add genesis information to freezer metadata file and update verification to use it #31276

Open
fjl opened this issue Feb 27, 2025 · 0 comments
Open

Comments

@fjl
Copy link
Contributor

fjl commented Feb 27, 2025

When running Geth with pruned history, the freezer validation will fail at startup when it attempts to compare the genesis block hash to the block stored in freezer. We have this check to ensure the user doesn't configure a freezer directory for the wrong network.

The metadata file (last updated in #30392) should be changed to include the genesis hash. That way, we can perform the validation check without actually storing the genesis block.

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

No branches or pull requests

1 participant