Skip to content

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

@fjl

Description

@fjl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions