mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 10:41:09 +00:00
pallet-aura: Expose SlotDuration as constant (#3732)
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user