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

Signal accepted_block after it is marked valid #1386

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 11, 2023

As indicated in #1275, produced blocks were signaled to plugins after being marked valid and placed in the forkdb but signaled before being marked valid and placed in the forkdb for validated blocks. This PR makes sure that the block is marked valid before being signaled for both produced blocks and validated blocks. Also refactors location of updating head for applied blocks, consolidating it in commit_block.

Resolves #1275

@heifner heifner requested review from greg7mdp and linh2931 July 11, 2023 13:38
@heifner heifner added the OCI Work exclusive to OCI team label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

accepted_block signals non-validated blocks
4 participants