Skip to content

Commit

Permalink
pallet-aura: Expose SlotDuration as constant (#3732)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Mar 24, 2024
1 parent 19490ab commit 463ccb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions substrate/frame/aura/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
}

Expand Down

0 comments on commit 463ccb8

Please sign in to comment.