Skip to content

Block Bundling Node Side#10477

Merged
bkchr merged 378 commits intomasterfrom
bkchr-fast-working-2
Apr 17, 2026
Merged

Block Bundling Node Side#10477
bkchr merged 378 commits intomasterfrom
bkchr-fast-working-2

Conversation

@bkchr
Copy link
Copy Markdown
Member

@bkchr bkchr commented Nov 29, 2025

This implements Block bundling aka 500ms on the node side. Right now the pull request also contains the runtime changes, but this is already its own pull request.

The main changes are in the slot-based collator. Instead of building one block per core, blocks will be build as requested and distributed over the available cores.

Closes: #9080
Closes: #8963
Closes: #6495

bkchr added 30 commits September 9, 2025 15:10
This is required for example for parachains that require special extensions to be registered (e.g. `ProofSizeExt`) to succeed the block execution.

This pull request changes the signature of `spawn_tasks` which now requires a `tracing_execute_block` parameter. If your chain is a solochain, just set the
parameter to `None` or overwrite it if you need any special handling. For parachain builders, this value can be set to `cumulus_service::ParachainTracingExecuteBlock`.
The finality notification was already carrying the information about the stale heads.
However, most users of the stale heads were expanding these stale heads to all the stale blocks.
So, we were iterating the same forks multiple times in the node for each finality notification.
Also in a possible future where we start actually pruning headers as well, expanding these forks
would fail.

So, this pull request is changing the finality notification to directly carry the
stale blocks (which were calculated any way already).
@bkchr
Copy link
Copy Markdown
Member Author

bkchr commented Apr 14, 2026

/cmd fmt

@github-actions
Copy link
Copy Markdown
Contributor

Review required! Latest push from author must always be reviewed

@bkchr bkchr added this pull request to the merge queue Apr 17, 2026
Merged via the queue into master with commit 6e8ca55 Apr 17, 2026
263 of 269 checks passed
@bkchr bkchr deleted the bkchr-fast-working-2 branch April 17, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T0-node This PR/Issue is related to the topic “node”. T9-cumulus This PR/Issue is related to cumulus.

Projects

Status: Audited

Development

Successfully merging this pull request may close these issues.

Ensure that block bundles go into one PoV Dynamic upscaling of block time Two Fast To Block - Decreasing block times on parachains

8 participants