pallet-aura: Expose SlotDuration as constant (#3732)

This commit is contained in:
Bastian Köcher
2024-03-24 15:21:18 +01:00
committed by GitHub
parent 19490abae0
commit 463ccb8f90
+1
View File
@@ -114,6 +114,7 @@ pub mod pallet {
/// The effective value of this type should not change while the chain is running.
///
/// For backwards compatibility either use [`MinimumPeriodTimesTwo`] or a const.
#[pallet::constant]
type SlotDuration: Get<<Self as pallet_timestamp::Config>::Moment>;
}