Skip to content

Commit

Permalink
chore: timestamp settings for tests (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daanvdplas authored Oct 21, 2024
1 parent 52fb7f0 commit f213164
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/devnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ();
}
Expand Down

0 comments on commit f213164

Please sign in to comment.