mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
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
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user