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

Use superstruct for PersistedForkChoice #18

Conversation

michaelsproul
Copy link

Proposed Changes

First attempt at using superstruct in the schema migration process. I've applied it to PersistedForkChoice because I'm planning to change it again for sigp#2849.

I've also tried to distill some design patterns for schema migrations into a doc here: https://github.com/michaelsproul/lighthouse/blob/a6dbd4cad2643b53b48e932067dfcad918331993/beacon_node/beacon_chain/src/schema_change/README.md

Copy link
Owner

@realbigsean realbigsean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the new db migration guidelines!

beacon_node/beacon_chain/src/schema_change/README.md Outdated Show resolved Hide resolved
beacon_node/beacon_chain/src/schema_change/README.md Outdated Show resolved Hide resolved
@realbigsean realbigsean merged commit 8ddc097 into realbigsean:justified-checkpoint-root Dec 3, 2021
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