Skip to content

Tree states database migration #4482

@michaelsproul

Description

@michaelsproul

Description

We need to implement a database upgrade (and downgrade) procedure for turning a regular Lighthouse node into a tree-states node. I had a previous version of this working but abandoned it because the on-disk format was still changing. The on-disk format is still expecting a few changes (e.g. #4475), but should be closer to stability now.

Steps to resolve

I think the upgrade should proceed as follows:

Users can then recover historic states if they want them by running with --reconstruct-historic-states, which will reconstruct from genesis to the split slot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions