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

IF: Don't drop late blocks #2159

Closed
Tracked by #2110
heifner opened this issue Jan 30, 2024 · 2 comments · Fixed by #2274
Closed
Tracked by #2110

IF: Don't drop late blocks #2159

heifner opened this issue Jan 30, 2024 · 2 comments · Fixed by #2274
Assignees
Labels
👍 lgtm OCI Work exclusive to OCI team

Comments

@heifner
Copy link
Member

heifner commented Jan 30, 2024

Currently, any blocks received while producing a block are dropped and not evaluated. IF includes QC info in block extensions. Do not drop blocks, but rather incorporate their QC info into the fork_database. Do not automatically abort block but incorporate the block into the fork_database for use in best fork evaluation. If LIB advances such that current block being produced is no longer built on LIB, abort the block immediate, re-evaluate best fork, and build block off the new best fork.

Related to #2125

@heifner
Copy link
Member Author

heifner commented Feb 6, 2024

I believe lib_advance_test can be updated to expect no unlinkable blocks after this change.

@heifner heifner self-assigned this Feb 20, 2024
@heifner heifner added the OCI Work exclusive to OCI team label Feb 20, 2024
@heifner heifner moved this from Todo to In Progress in Team Backlog Feb 20, 2024
@heifner heifner added this to the Leap v6.0.0-rc1 milestone Feb 20, 2024
heifner added a commit that referenced this issue Mar 1, 2024
heifner added a commit that referenced this issue Mar 1, 2024
@heifner heifner linked a pull request Mar 1, 2024 that will close this issue
heifner added a commit that referenced this issue Mar 1, 2024
@heifner heifner moved this from In Progress to Awaiting Review in Team Backlog Mar 2, 2024
heifner added a commit that referenced this issue Mar 3, 2024
heifner added a commit that referenced this issue Mar 4, 2024
heifner added a commit that referenced this issue Mar 4, 2024
@heifner
Copy link
Member Author

heifner commented Mar 4, 2024

Resolved by #2274

@heifner heifner closed this as completed Mar 4, 2024
@github-project-automation github-project-automation bot moved this from Awaiting Review to Done in Team Backlog Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 lgtm OCI Work exclusive to OCI team
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants