Skip to content

Commit

Permalink
fix(testnet): restore experimental feature
Browse files Browse the repository at this point in the history
  • Loading branch information
evilrobot-01 committed Aug 6, 2024
1 parent ef18bd1 commit 7be1434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,9 +444,10 @@ impl pallet_aura::Config for Runtime {
type DisabledValidators = ();
type MaxAuthorities = ConstU32<100_000>;
type AllowMultipleBlocksPerSlot = ConstBool<false>;
// Note: SlotDuration enabled here due to being enabled for devnet runtime and Rust's feature
// Note: SlotDuration potentially enabled here due to devnet runtime and Rust's feature
// unification, requiring the setting of a backwards compatible value.
// See https://github.com/paritytech/polkadot-sdk/blob/09df373db9cd5dfed82c5cdb0736d417d54249e6/substrate/frame/aura/src/lib.rs#L262
#[cfg(feature = "experimental")]
type SlotDuration = pallet_aura::MinimumPeriodTimesTwo<Runtime>;
}

Expand Down

0 comments on commit 7be1434

Please sign in to comment.