diff --git a/Cargo.lock b/Cargo.lock index ccbef08..a76bd3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2327,7 +2327,7 @@ dependencies = [ [[package]] name = "ias-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallet-teerex.git?branch=master#323b3fbb3f91234d5cc53abf594d5eec677eed67" +source = "git+https://github.com/integritee-network/pallet-teerex.git?branch=master#fab14a05744034c7a29fd6dc6f4437cb2272a7aa" dependencies = [ "base64 0.11.0", "chrono", @@ -3991,7 +3991,7 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.9.0" -source = "git+https://github.com/integritee-network/pallet-teerex.git?branch=master#323b3fbb3f91234d5cc53abf594d5eec677eed67" +source = "git+https://github.com/integritee-network/pallet-teerex.git?branch=master#fab14a05744034c7a29fd6dc6f4437cb2272a7aa" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 132d609..1635be0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -254,7 +254,7 @@ parameter_types! { impl pallet_timestamp::Config for Runtime { /// A timestamp: milliseconds since the unix epoch. type Moment = Moment; - type OnTimestampSet = Aura; + type OnTimestampSet = (Aura, Teerex); type MinimumPeriod = MinimumPeriod; type WeightInfo = (); } @@ -296,6 +296,7 @@ impl pallet_sudo::Config for Runtime { parameter_types! { pub const MomentsPerDay: Moment = 86_400_000; // [ms/d] + pub const MaxSilenceTime: Moment =172_800_000; // 48h } /// added by SCS @@ -303,6 +304,7 @@ impl pallet_teerex::Config for Runtime { type Event = Event; type Currency = pallet_balances::Pallet; type MomentsPerDay = MomentsPerDay; + type MaxSilenceTime = MaxSilenceTime; // currently we have only benchmarks there for the integritee-parachain type WeightInfo = pallet_teerex::weights::IntegriteeWeight; }