mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
8dc910c8a1
Changes: - Add `integrity_check` to trait `TracksInfo` to assert the sorting - Use the check in `integrity_test` - Rely upon sorted property in the `info` for speedup Note that the pallet already relies upon this (so far) untested assumption [here](https://github.com/paritytech/polkadot-sdk/blob/44c7a5eb8c375d77f685abf585961421e5f8b228/substrate/frame/referenda/src/lib.rs#L1280). --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Bastian Köcher <git@kchr.de>
15 lines
783 B
Plaintext
15 lines
783 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"
|