mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +00:00
c8136bd1df
* Remove `serde` requirement from FRAME macros Currently there is some implicit requirement on `serde` being present in the `Cargo.toml` of a pallet when `GenesisConfig` is used. This pr removes this requirement by using the serde attribute `serde(crate = "..")`. * build a unique reexport of serde in impl_opaque_keys, by abusing paste doc concatenation * Optimize Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
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.
Related Modules
- 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