Skip to content

Commit

Permalink
Add note about epoch duration
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Jul 28, 2024
1 parent 20f57fe commit bcfdd09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions substrate/frame/sassafras/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ pub mod pallet {
#[pallet::config]
pub trait Config: frame_system::Config {
/// Amount of slots that each epoch should last.
///
/// NOTE: Currently it is not possible to change the epoch duration after
/// the chain has started. Attempting to do so will brick block production.
#[pallet::constant]
type EpochDuration: Get<u32>;

Expand Down

0 comments on commit bcfdd09

Please sign in to comment.