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

[Merged by Bors] - DB migration for fork choice cleanup #4265

Closed
wants to merge 4 commits into from

Conversation

macladson
Copy link
Member

@macladson macladson commented May 4, 2023

Issue Addressed

#4233

Proposed Changes

Remove the best_justified_checkpoint from the PersistedForkChoiceStore type as it is now unused.
Additionally, remove the Option's wrapping the justified_checkpoint and finalized_checkpoint fields on ProtoNode which were only present to facilitate a previous migration.

Include the necessary code to facilitate the migration to a new DB schema.

@macladson macladson changed the title New database migration Fork choice cleanup May 4, 2023
@macladson macladson changed the title Fork choice cleanup DB migration for fork choice cleanup May 4, 2023
@macladson macladson added the work-in-progress PR is a work-in-progress label May 4, 2023
@macladson macladson added ready-for-review The code is ready for review v4.2.0 Q2 2023 and removed work-in-progress PR is a work-in-progress labels May 4, 2023
Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

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

Looks great, I couldn't fault it 🎉

@paulhauner paulhauner added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels May 15, 2023
@paulhauner
Copy link
Member

bors r+

@paulhauner paulhauner added the backwards-incompat Backwards-incompatible API change label May 15, 2023
bors bot pushed a commit that referenced this pull request May 15, 2023
## Issue Addressed

#4233

## Proposed Changes

Remove the `best_justified_checkpoint` from the `PersistedForkChoiceStore` type as it is now unused.
Additionally, remove the `Option`'s wrapping the `justified_checkpoint` and `finalized_checkpoint` fields on `ProtoNode` which were only present to facilitate a previous migration.

Include the necessary code to facilitate the migration to a new DB schema.
@bors
Copy link

bors bot commented May 15, 2023

Pull request successfully merged into unstable.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title DB migration for fork choice cleanup [Merged by Bors] - DB migration for fork choice cleanup May 15, 2023
@bors bors bot closed this May 15, 2023
@macladson macladson deleted the fork-choice-cleanup branch May 16, 2023 01:08
ghost pushed a commit to oone-world/lighthouse that referenced this pull request Jul 13, 2023
## Issue Addressed

sigp#4233

## Proposed Changes

Remove the `best_justified_checkpoint` from the `PersistedForkChoiceStore` type as it is now unused.
Additionally, remove the `Option`'s wrapping the `justified_checkpoint` and `finalized_checkpoint` fields on `ProtoNode` which were only present to facilitate a previous migration.

Include the necessary code to facilitate the migration to a new DB schema.
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
## Issue Addressed

sigp#4233

## Proposed Changes

Remove the `best_justified_checkpoint` from the `PersistedForkChoiceStore` type as it is now unused.
Additionally, remove the `Option`'s wrapping the `justified_checkpoint` and `finalized_checkpoint` fields on `ProtoNode` which were only present to facilitate a previous migration.

Include the necessary code to facilitate the migration to a new DB schema.
Woodpile37 pushed a commit to Woodpile37/lighthouse that referenced this pull request Jan 6, 2024
Remove the `best_justified_checkpoint` from the `PersistedForkChoiceStore` type as it is now unused.
Additionally, remove the `Option`'s wrapping the `justified_checkpoint` and `finalized_checkpoint` fields on `ProtoNode` which were only present to facilitate a previous migration.

Include the necessary code to facilitate the migration to a new DB schema.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backwards-incompat Backwards-incompatible API change ready-for-merge This PR is ready to merge. v4.2.0 Q2 2023
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants