Files
pezkuwi-subxt/substrate/frame/aura
Sebastian Kunert df818d2974 Move cumulus zombienet tests to aura & async backing (#3568)
Cumulus test-parachain node and test runtime were still using relay
chain consensus and 12s blocktimes. With async backing around the corner
on the major chains we should switch our tests too.

Also needed to nicely test the changes coming to collators in #3168.

### Changes Overview
- Followed the [migration
guide](https://wiki.polkadot.network/docs/maintain-guides-async-backing)
for async backing for the cumulus-test-runtime
- Adjusted the cumulus-test-service to use the correct import-queue,
lookahead collator etc.
- The block validation function now uses the Aura Ext Executor so that
the seal of the block is validated
- Previous point requires that we seal block before calling into
`validate_block`, I introduced a helper function for that
- Test client adjusted to provide a slot to the relay chain proof and
the aura pre-digest
2024-04-09 16:53:30 +00:00
..
2023-09-04 12:02:32 +03:00

Aura Module

Overview

The Aura module extends Aura consensus by managing offline reporting.

Interface

Public Functions

  • slot_duration - Determine the Aura slot-duration based on the Timestamp module configuration.
  • Timestamp: The Timestamp module is used in Aura to track consensus rounds (via slots).

References

If you're interested in hacking on this module, it is useful to understand the interaction with substrate/primitives/inherents/src/lib.rs and, specifically, the required implementation of ProvideInherent and ProvideInherentData to create and check inherents.

License: Apache-2.0