From f2131648d775d845cfced8ed3e645102244acc7b Mon Sep 17 00:00:00 2001 From: Daan van der Plas <93204684+Daanvdplas@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:41:05 +0200 Subject: [PATCH] chore: timestamp settings for tests (#347) --- runtime/devnet/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/devnet/src/lib.rs b/runtime/devnet/src/lib.rs index 16f168fa..f539cbde 100644 --- a/runtime/devnet/src/lib.rs +++ b/runtime/devnet/src/lib.rs @@ -291,6 +291,9 @@ impl pallet_timestamp::Config for Runtime { type MinimumPeriod = ConstU64<0>; /// A timestamp: milliseconds since the unix epoch. type Moment = u64; + #[cfg(feature = "std")] + type OnTimestampSet = (); + #[cfg(not(feature = "std"))] type OnTimestampSet = Aura; type WeightInfo = (); }