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

Commit 4e1012c

Browse files
author
Guantong
committed
1 parent 6079a59 commit 4e1012c

11 files changed

Lines changed: 11 additions & 11 deletions

File tree

pallet/deposit/tests/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl frame_system::Config for Runtime {
5252
impl pallet_timestamp::Config for Runtime {
5353
type MinimumPeriod = ();
5454
type Moment = Moment;
55-
type OnTimestampSet = ();
55+
type OnTimestampSet = Aura;
5656
type WeightInfo = ();
5757
}
5858

pallet/message-gadget/tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl frame_system::Config for Runtime {
4949
impl pallet_timestamp::Config for Runtime {
5050
type MinimumPeriod = ();
5151
type Moment = u128;
52-
type OnTimestampSet = ();
52+
type OnTimestampSet = Aura;
5353
type WeightInfo = ();
5454
}
5555

pallet/message-transact/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ frame_support::parameter_types! {
9898
impl pallet_timestamp::Config for TestRuntime {
9999
type MinimumPeriod = MinimumPeriod;
100100
type Moment = u64;
101-
type OnTimestampSet = ();
101+
type OnTimestampSet = Aura;
102102
type WeightInfo = ();
103103
}
104104

pallet/staking/tests/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl frame_system::Config for Runtime {
5454
impl pallet_timestamp::Config for Runtime {
5555
type MinimumPeriod = ();
5656
type Moment = Moment;
57-
type OnTimestampSet = ();
57+
type OnTimestampSet = Aura;
5858
type WeightInfo = ();
5959
}
6060

precompile/assets/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl pallet_balances::Config for TestRuntime {
102102
impl pallet_timestamp::Config for TestRuntime {
103103
type MinimumPeriod = ();
104104
type Moment = u64;
105-
type OnTimestampSet = ();
105+
type OnTimestampSet = Aura;
106106
type WeightInfo = ();
107107
}
108108
pub struct TestPrecompiles<R>(PhantomData<R>);

precompile/deposit/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl pallet_balances::Config for TestRuntime {
8989
impl pallet_timestamp::Config for TestRuntime {
9090
type MinimumPeriod = ();
9191
type Moment = u128;
92-
type OnTimestampSet = ();
92+
type OnTimestampSet = Aura;
9393
type WeightInfo = ();
9494
}
9595

precompile/staking/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ impl pallet_balances::Config for TestRuntime {
9191
impl pallet_timestamp::Config for TestRuntime {
9292
type MinimumPeriod = ();
9393
type Moment = u128;
94-
type OnTimestampSet = ();
94+
type OnTimestampSet = Aura;
9595
type WeightInfo = ();
9696
}
9797

precompile/state-storage/src/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl pallet_balances::Config for TestRuntime {
8888
impl pallet_timestamp::Config for TestRuntime {
8989
type MinimumPeriod = ();
9090
type Moment = u64;
91-
type OnTimestampSet = ();
91+
type OnTimestampSet = Aura;
9292
type WeightInfo = ();
9393
}
9494

runtime/crab/src/pallets/timestamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ impl pallet_timestamp::Config for Runtime {
2323
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>;
2424
/// A timestamp: milliseconds since the unix epoch.
2525
type Moment = u64;
26-
type OnTimestampSet = ();
26+
type OnTimestampSet = Aura;
2727
type WeightInfo = weights::pallet_timestamp::WeightInfo<Self>;
2828
}

runtime/darwinia/src/pallets/timestamp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ impl pallet_timestamp::Config for Runtime {
2323
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>;
2424
/// A timestamp: milliseconds since the unix epoch.
2525
type Moment = u64;
26-
type OnTimestampSet = ();
26+
type OnTimestampSet = Aura;
2727
type WeightInfo = weights::pallet_timestamp::WeightInfo<Self>;
2828
}

0 commit comments

Comments
 (0)