Files
pezkuwi-subxt/prdoc/pr_3308.prdoc
T
Bastian Köcher aa68ea58f3 Parachains-Aura: Only produce once per slot (#3308)
Given how the block production is driven for Parachains right now, with
the enabling of async backing we would produce two blocks per slot.
Until we have a proper collator implementation, the "hack" is to prevent
the production of multiple blocks per slot.


Closes: https://github.com/paritytech/polkadot-sdk/issues/3282
2024-02-13 20:07:51 +00:00

15 lines
781 B
Plaintext

title: Parachains-Aura: Only produce once per slot
doc:
- audience: Node Dev
description: |
With the introduction of asynchronous backing the relay chain allows parachain to include blocks every 6 seconds.
The Cumulus Aura implementations, besides the lookahead collator, are building blocks when there is a free slot for
the parachain in the relay chain. Most parachains are still running with a 12s slot duration and not allowing
to build multiple blocks per slot. But, the block production logic will be triggered every 6s, resulting in error
logs like: "no space left for the block in the unincluded segment". This is solved by ensuring that we don't build
multiple blocks per slot.
crates:
- name: "cumulus-client-consensus-aura"