mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-22 19:56:20 +00:00
pallet-aura: add feature-flagged explicit slot duration type (#14649)
* aura: add feature-flagged explicit slot duration type * fmt * add some comments * have node-template use new explicit feature * fix mock * fmt * use the experimental feature flag instead * checkout master Cargo.lock
This commit is contained in:
1 parent
476ee340d9
commit
08f680e281
5 files changed
+49
-4
No files matched your search
@@ -207,6 +207,9 @@ impl pallet_aura::Config for Runtime {
|
||||
type DisabledValidators = ();
|
||||
type MaxAuthorities = ConstU32<32>;
|
||||
type AllowMultipleBlocksPerSlot = ConstBool<false>;
|
||||
|
||||
#[cfg(feature = "experimental")]
|
||||
type SlotDuration = pallet_aura::MinimumPeriodTimesTwo<Runtime>;
|
||||
}
|
||||
|
||||
impl pallet_grandpa::Config for Runtime {
|
||||
|
||||
Reference in new issue
Block a user