Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit bda6481

Browse files
EgorPopelyaevbkchr
andauthored
Set OnTimestampSet = Aura in all runtimes (#1876) (#1878)
Co-authored-by: Bastian Köcher <info@kchr.de>
1 parent c213e0c commit bda6481

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

  • parachain-template/runtime/src
  • parachains/runtimes

parachain-template/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ parameter_types! {
316316
impl pallet_timestamp::Config for Runtime {
317317
/// A timestamp: milliseconds since the unix epoch.
318318
type Moment = u64;
319-
type OnTimestampSet = ();
319+
type OnTimestampSet = Aura;
320320
type MinimumPeriod = MinimumPeriod;
321321
type WeightInfo = ();
322322
}

parachains/runtimes/assets/statemine/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ parameter_types! {
160160
impl pallet_timestamp::Config for Runtime {
161161
/// A timestamp: milliseconds since the unix epoch.
162162
type Moment = u64;
163-
type OnTimestampSet = ();
163+
type OnTimestampSet = Aura;
164164
type MinimumPeriod = MinimumPeriod;
165165
type WeightInfo = weights::pallet_timestamp::WeightInfo<Runtime>;
166166
}

parachains/runtimes/assets/statemint/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ parameter_types! {
190190
impl pallet_timestamp::Config for Runtime {
191191
/// A timestamp: milliseconds since the unix epoch.
192192
type Moment = u64;
193-
type OnTimestampSet = ();
193+
type OnTimestampSet = Aura;
194194
type MinimumPeriod = MinimumPeriod;
195195
type WeightInfo = weights::pallet_timestamp::WeightInfo<Runtime>;
196196
}

parachains/runtimes/assets/westmint/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ parameter_types! {
158158
impl pallet_timestamp::Config for Runtime {
159159
/// A timestamp: milliseconds since the unix epoch.
160160
type Moment = u64;
161-
type OnTimestampSet = ();
161+
type OnTimestampSet = Aura;
162162
type MinimumPeriod = MinimumPeriod;
163163
type WeightInfo = weights::pallet_timestamp::WeightInfo<Runtime>;
164164
}

parachains/runtimes/collectives/collectives-polkadot/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ pub const MINIMUM_PERIOD: u64 = SLOT_DURATION / 2;
181181
impl pallet_timestamp::Config for Runtime {
182182
/// A timestamp: milliseconds since the unix epoch.
183183
type Moment = u64;
184-
type OnTimestampSet = ();
184+
type OnTimestampSet = Aura;
185185
type MinimumPeriod = ConstU64<MINIMUM_PERIOD>;
186186
type WeightInfo = weights::pallet_timestamp::WeightInfo<Runtime>;
187187
}

parachains/runtimes/contracts/contracts-rococo/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl frame_system::Config for Runtime {
185185
impl pallet_timestamp::Config for Runtime {
186186
/// A timestamp: milliseconds since the unix epoch.
187187
type Moment = u64;
188-
type OnTimestampSet = ();
188+
type OnTimestampSet = Aura;
189189
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>;
190190
type WeightInfo = pallet_timestamp::weights::SubstrateWeight<Runtime>;
191191
}

parachains/runtimes/testing/penpal/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ parameter_types! {
329329
impl pallet_timestamp::Config for Runtime {
330330
/// A timestamp: milliseconds since the unix epoch.
331331
type Moment = u64;
332-
type OnTimestampSet = ();
332+
type OnTimestampSet = Aura;
333333
type MinimumPeriod = MinimumPeriod;
334334
type WeightInfo = ();
335335
}

parachains/runtimes/testing/rococo-parachain/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ parameter_types! {
211211
impl pallet_timestamp::Config for Runtime {
212212
/// A timestamp: milliseconds since the unix epoch.
213213
type Moment = u64;
214-
type OnTimestampSet = ();
214+
type OnTimestampSet = Aura;
215215
type MinimumPeriod = MinimumPeriod;
216216
type WeightInfo = ();
217217
}

0 commit comments

Comments
 (0)