Skip to content

Build an empty block if tip is notarized but not finalized - #533

Open
yacovm wants to merge 1 commit into
mainfrom
531
Open

Build an empty block if tip is notarized but not finalized#533
yacovm wants to merge 1 commit into
mainfrom
531

Conversation

@yacovm

@yacovm yacovm commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

This commit makes the epoch detect that the tip of the chain is only notarized but not finalized for a prolonged period of time, and then cancel the block building or waiting for a need to build a block by passing a ErrShouldBuildEmptyBlock cause to the context.

Then, the MSM returns an empty block.

Instance tests are deferred until #508 is merged.

This commit makes the epoch detect that the tip of the chain is only notarized but not finalized for a prolonged period of time,
and then cancel the block building or waiting for a need to build a block by passing a ErrShouldBuildEmptyBlock cause to the context.

Then, the MSM returns an empty block.

Signed-off-by: Yacov Manevich <yacov.manevich@avalabs.org>
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.

1 participant